aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/fts/APKBUILD34
1 files changed, 14 insertions, 20 deletions
diff --git a/main/fts/APKBUILD b/main/fts/APKBUILD
index 0107ba3cb7..0f84ce5f21 100644
--- a/main/fts/APKBUILD
+++ b/main/fts/APKBUILD
@@ -1,47 +1,41 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fts
-pkgver=1.2.5
+pkgver=1.2.7
pkgrel=0
pkgdesc="Provides the fts(3) functions, which are missing in musl libc"
url="https://github.com/pullmoll/musl-fts/"
arch="all"
license="BSD"
-depends=
-depends_dev=""
-makedepends="$depends_dev automake autoconf libtool"
-install=""
+makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="https://github.com/pullmoll/musl-fts/archive/v$pkgver.zip"
-builddir="${srcdir}/musl-${pkgname}-${pkgver}"
+builddir="$srcdir/musl-$pkgname-$pkgver"
prepare() {
- local i
+ default_prepare
cd "$builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ ./bootstrap.sh
}
build() {
cd "$builddir"
- ./bootstrap.sh
- CFLAGS=-fPIC ./configure --build=$CBUILD \
+ CFLAGS=-fPIC ./configure \
+ --build=$CBUILD \
--host=$CHOST \
- --prefix=/usr || return 1
- make || return 1
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
}
package() {
cd "$builddir"
- make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/lib/pkgconfig
cp "$builddir"/musl-fts.pc "$pkgdir"/usr/lib/pkgconfig/libfts.pc
}
-md5sums="1191fcd74d73f0357a6b9e7579914d5f v1.2.5.zip"
-sha256sums="72883a1c01a17bc58b506d63b8fde1041a46fc8b8e0dd9505d7c72ad7d381904 v1.2.5.zip"
-sha512sums="c03ee7c5f26f82e52a49ee74e51f9194a16be7c8e50883bf5f13b7f5716c57c958492c38edbc0fe4afeea57c9b3f5dde1810eaa51c6572d1a4e1579d0a15247e v1.2.5.zip"
+sha512sums="69aceaa7a8dc7ab5845d3288e315357f92ac32fac55c3d670186f2c5756f665a11471fc81f67126755a707058a8d293ba926d906f542c1360a49ca3c9b357976 v1.2.7.zip"