Pkgfile (726B)
1 # Description: Provides the fts(3) functions, which are missing in musl libc 2 # URL: https://github.com/void-linux/musl-fts/ 3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com 4 5 name=musl-fts 6 version=1.2.5 7 release=1 8 source=(https://github.com/void-linux/musl-fts/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-fts.pc -t "${PKG}"/usr/lib/pkgconfig/ 27 28 }