diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-08-17 00:08:57 -0400 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-17 12:20:33 +0200 |
commit | 612376dde44bb99da59ebe9f3e28c5233da6bd3a (patch) | |
tree | 6d3f07fbb0b98e2f436920512809055acff316b2 /testing/libzip/APKBUILD | |
parent | e4daee4ccdde7a2e2cebd52cc19943b0c05a1fd9 (diff) | |
download | aports-612376dde44bb99da59ebe9f3e28c5233da6bd3a.tar.bz2 aports-612376dde44bb99da59ebe9f3e28c5233da6bd3a.tar.xz |
testing/libzip: upgrade to 1.1.3
Diffstat (limited to 'testing/libzip/APKBUILD')
-rw-r--r-- | testing/libzip/APKBUILD | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/testing/libzip/APKBUILD b/testing/libzip/APKBUILD index 65786c4214..02e354a9c6 100644 --- a/testing/libzip/APKBUILD +++ b/testing/libzip/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Jose-Luis Rivas <ghostbar@riseup.net> # Maintainer: pkgname=libzip -pkgver=1.1.2 +pkgver=1.1.3 pkgrel=0 pkgdesc="A C library for reading, creating, and modifying zip archives" url="http://www.nih.at/libzip/index.html" @@ -11,20 +11,25 @@ license="BSD" depends= depends_dev="zlib-dev" makedepends="$depends_dev perl" -install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" -source="http://www.nih.at/libzip/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir/${pkgname}-${pkgver}" +source="http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - ./configure -prefix=/usr || return 1 + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" -j1 install install-man || return 1 mv "$pkgdir"/usr/lib/libzip/include/* "$pkgdir"/usr/include || return 1 rm -fr "$pkgdir"/usr/lib/libzip @@ -32,9 +37,10 @@ package() { tools() { pkgdesc="$pkgname cmp and merge tools" - install -d "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr + install -d "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr || return 1 } -md5sums="0820a1ae5733518f5d6e289cb642c08e libzip-1.1.2.tar.gz" -sha256sums="59ac7c09b0aa9aa7e21849c236d0a66a97aa6d442d78335c2fdfe0ee16366221 libzip-1.1.2.tar.gz" -sha512sums="fcc5dd064e76d66d75932d053b538e7b9e8f1223469f4c36458d66dcd579a68ba0ca75c7b95ad69c64072c431430c63b9e822c23a1eca84f1efc262ff8776927 libzip-1.1.2.tar.gz" + +md5sums="898f02db185068c8ae45bafe4c5cc81c libzip-1.1.3.tar.gz" +sha256sums="1faa5a524dd4a12c43b6344e618edce1bf8050dfdb9d0f73f3cc826929a002b0 libzip-1.1.3.tar.gz" +sha512sums="8534b48d2f1498b741925dbdf7510ebbdfb9773b5266ec28b1eb22b8f1a39e7ba44d225dae7d5dc265415a30e5b5295e7061e5c97698834405ce97ef08b97326 libzip-1.1.3.tar.gz" |