pkgs/musl-obstack/PKGBUILD

30 lines
586 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=musl-obstack
2023-12-08 20:54:14 +00:00
pkgver=1.3.0
2023-12-05 04:47:04 +00:00
pkgrel=1
pkgdesc="Standalone library to implement GNU libc's obstack"
2023-12-08 20:54:14 +00:00
arch=("x86_64")
url="https://code.relms.dev/Ikeda/musl-obstack"
2023-12-08 02:05:38 +00:00
license=("BSD-3-Clause")
2023-12-08 20:54:14 +00:00
source=("$pkgname-$pkgver.tar.gz::https://code.relms.dev/Ikeda/musl-obstack/archive/$pkgver.tar.gz")
sha256sums=("9a22be0db737ceb79310490e432f0cbeb7726dfe08d98fac3b4c3e21af2dbb08")
2023-12-05 04:47:04 +00:00
prepare() {
2023-12-08 20:54:14 +00:00
cd $pkgname
2023-12-05 04:47:04 +00:00
./bootstrap.sh
}
build() {
2023-12-08 20:54:14 +00:00
cd $pkgname
2023-12-05 04:47:04 +00:00
./configure --prefix=/usr
make
}
package() {
2023-12-08 20:54:14 +00:00
cd $pkgname
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
make DESTDIR=$pkgdir install
2023-12-05 04:47:04 +00:00
}