# Maintainer: Daryl Ronningen 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 }