pkgs/musl-obstack/PKGBUILD
2023-12-08 21:44:38 -08:00

29 lines
586 B
Bash

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