Pkgfile (727B)
1 # Description: Obstack functions and macros for use with musl libc. 2 # URL: https://github.com/void-linux/musl-obstack 3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com 4 5 name=musl-obstack 6 version=1.2.3 7 release=1 8 source=(https://github.com/void-linux/${name}/archive/v${version}/${name}-${version}.tar.gz) 9 10 build() { 11 12 cd "${name}"-"${version}" 13 14 ./bootstrap.sh 15 16 ./configure --build=$CBUILD \ 17 --host=$CHOST \ 18 --prefix=/usr \ 19 --sysconfdir=/etc \ 20 --localstatedir=/var \ 21 --mandir=/usr/share/man 22 23 make 24 make DESTDIR="${PKG}" install 25 26 install -Dm644 musl-obstack.pc -t "${PKG}"/usr/lib/pkgconfig/ 27 28 }