pkgs/musl-obstack/PKGBUILD

30 lines
592 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=musl-obstack
pkgver=1.2.3
pkgrel=1
pkgdesc="Standalone library to implement GNU libc's obstack"
url="https://github.com/void-linux/musl-obstack/"
arch=(any)
license=(BSD-3-Clause)
source=(https://github.com/void-linux/musl-obstack/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('9ffb3479b15df0170eba4480e51723c3961dbe0b461ec289744622db03a69395')
prepare() {
cd $pkgname-$pkgver
./bootstrap.sh
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}