diff options
-rw-r--r-- | testing/plzip/APKBUILD | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/testing/plzip/APKBUILD b/testing/plzip/APKBUILD index 7ce9637426..9dd17e5861 100644 --- a/testing/plzip/APKBUILD +++ b/testing/plzip/APKBUILD @@ -1,9 +1,9 @@ # Contributor: Klemens Nanni <kl3@posteo.org> # Maintainer: Klemens Nanni <kl3@posteo.org> pkgname=plzip -pkgver=1.6 +pkgver=1.7 pkgrel=0 -pkgdesc="Plzip is a massively parallel lossless data compressor" +pkgdesc="Massively parallel lossless data compressor" url="http://www.nongnu.org/lzip/plzip.html" arch="all" license="GPL-2.0-or-later" @@ -12,23 +12,28 @@ depends_dev="" makedepends="lzlib" install="" subpackages="${pkgname}-doc" -source="http://download.savannah.gnu.org/releases/lzip/${pkgname}/${pkgname}-${pkgver}.tar.gz" +source="http://download.savannah.gnu.org/releases/lzip/$pkgname/$pkgname-$pkgver.tar.gz" -builddir="${srcdir}/${pkgname}-${pkgver}" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "${builddir}" - ./configure --prefix=/usr + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var make } check() { - cd "${builddir}" - make check + make -C "$builddir" check } package() { - cd "${builddir}" - make DESTDIR="${pkgdir}" install + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="14f794e290eb58bcdf1fc5699c08c36f57473e36eeb3920dff519741c4265883f8ee348095a9315562812574c3f5ece7bd7ef4a11fbd955fe2ee54e361900f77 plzip-1.6.tar.gz" +sha512sums="6c9817ee89fb01aa20a051970c0d737f0658cbe18b6d6bef44768a53daa695691f5f768e810ba4a477598b435ce097c101685ddd61a8a61022b4343e238eb68f plzip-1.7.tar.gz" |