aboutsummaryrefslogtreecommitdiffstats
path: root/main/fts
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-04-04 11:36:31 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-04-04 11:36:35 +0000
commit9c7155d1aae287cb9babd6880bf10e5d16867cec (patch)
tree33bc0a04e7036ea03dfb25800bdd52eb790d660b /main/fts
parent78c9439e97f61ddd2311858fa2dd3d1ab9a6e399 (diff)
downloadaports-9c7155d1aae287cb9babd6880bf10e5d16867cec.tar.bz2
aports-9c7155d1aae287cb9babd6880bf10e5d16867cec.tar.xz
main/fts: upgrade to 1.2.5
Diffstat (limited to 'main/fts')
-rw-r--r--main/fts/APKBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/main/fts/APKBUILD b/main/fts/APKBUILD
index ad95ee5108..0107ba3cb7 100644
--- a/main/fts/APKBUILD
+++ b/main/fts/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fts
-pkgver=1.1
-pkgrel=5
+pkgver=1.2.5
+pkgrel=0
pkgdesc="Provides the fts(3) functions, which are missing in musl libc"
url="https://github.com/pullmoll/musl-fts/"
arch="all"
@@ -12,13 +12,12 @@ depends_dev=""
makedepends="$depends_dev automake autoconf libtool"
install=""
subpackages="$pkgname-dev"
-source="https://github.com/pullmoll/musl-fts/archive/v1.1.zip
- 00-static-and-shared-libs.patch"
+source="https://github.com/pullmoll/musl-fts/archive/v$pkgver.zip"
-_builddir="${srcdir}/musl-${pkgname}-${pkgver}"
+builddir="${srcdir}/musl-${pkgname}-${pkgver}"
prepare() {
local i
- cd "$_builddir"
+ cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -27,7 +26,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./bootstrap.sh
CFLAGS=-fPIC ./configure --build=$CBUILD \
--host=$CHOST \
@@ -36,16 +35,13 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR=${pkgdir} install || return 1
mkdir -p "$pkgdir"/usr/lib/pkgconfig
- cp "$_builddir"/musl-fts.pc "$pkgdir"/usr/lib/pkgconfig/libfts.pc
+ cp "$builddir"/musl-fts.pc "$pkgdir"/usr/lib/pkgconfig/libfts.pc
}
-md5sums="9ee52bbf56df87d3cf5349407d26ab01 v1.1.zip
-db14405fba57173dc1f72bae322bcddb 00-static-and-shared-libs.patch"
-sha256sums="17154766ca2c1e2e7ca55039a4a10a0334427fe986cd52b8c936667e80350954 v1.1.zip
-aea0dde6690df477b4575362c9101981835abbf2bf04cf1a02911917efc23695 00-static-and-shared-libs.patch"
-sha512sums="e2e03589d31a0494c1652fa411260646497c623598569443fd18718f63013c871bebef1765ebe6129895f5fd6008c0bf6d2a0d843ac2645eb6d9615056f6ba7e v1.1.zip
-dc455af94a97524024ae714ae57ca123a6732e3d9872a56d1cf282107cba09e30efd976b9c448c0c520407b1e43c71e36deec3e0655dcf3076d293ac7af8a9ac 00-static-and-shared-libs.patch"
+md5sums="1191fcd74d73f0357a6b9e7579914d5f v1.2.5.zip"
+sha256sums="72883a1c01a17bc58b506d63b8fde1041a46fc8b8e0dd9505d7c72ad7d381904 v1.2.5.zip"
+sha512sums="c03ee7c5f26f82e52a49ee74e51f9194a16be7c8e50883bf5f13b7f5716c57c958492c38edbc0fe4afeea57c9b3f5dde1810eaa51c6572d1a4e1579d0a15247e v1.2.5.zip"