29 lines
596 B
Bash
29 lines
596 B
Bash
# Maintainer: Daryl Ronningen <relms@relms.dev>
|
|
|
|
pkgname=musl-obstack
|
|
pkgver=1.2.3
|
|
pkgrel=1
|
|
pkgdesc="Standalone library to implement GNU libc's obstack"
|
|
arch=("any")
|
|
url="https://github.com/void-linux/musl-obstack/"
|
|
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
|
|
}
|