Mail archive
alpine-aports

[alpine-aports] [PATCH 3/3] main/lzip: upgrade to 1.18, clean APKBUILD

From: Klemens Nanni <kl3_at_posteo.org>
Date: Sat, 25 Jun 2016 15:52:04 +0200

---
 main/lzip/APKBUILD | 30 ++++++++++--------------------
 1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/main/lzip/APKBUILD b/main/lzip/APKBUILD
index 4576d6c..972326f 100644
--- a/main/lzip/APKBUILD
+++ b/main/lzip/APKBUILD
_at_@ -1,41 +1,31 @@
 # Contributor: ScrumpyJack <scrumpyjack_at_st.ilet.to>
 # Maintainer: ScrumpyJack <scrumpyjack_at_st.ilet.to>
 pkgname=lzip
-pkgver=1.17
+pkgver=1.18
 pkgrel=0
 pkgdesc="Lzip is a lossless data compressor"
-url="http://lzip.nongnu.org/lzip.html"
+url="http://www.nongnu.org/lzip/lzip.html"
 arch="all"
-license="GPL2"
+license="GPL2+"
 depends=""
 depends_dev=""
 makedepends=""
 install=""
-subpackages="$pkgname-doc"
+subpackages="${pkgname}-doc"
 source="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
 
-_builddir=${srcdir}/${pkgname}-${pkgver}
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
-
+builddir=${srcdir}/${pkgname}-${pkgver}
 build() {
-	cd "$_builddir"
+	cd "${builddir}"
         ./configure --prefix=/usr
         make || return 1
 }
 
 package() {
-	cd "$_builddir"
+	cd "${builddir}"
         make DESTDIR=${pkgdir} install || return 1
 }
 
-md5sums="be776a33333ee6529ea79f309491325b  lzip-1.17.tar.gz"
-sha256sums="9443855e0a33131233b22cdb6c62c9313a483f16cc7415efe88d4a494cea0352  lzip-1.17.tar.gz"
-sha512sums="cd4a1a7d3778f22e3a6f2d2a20491919e662771e79d1738f74c63de857913e28186d53b2af7997e1b164f8ab792561c7dde8781bb025a1859271ddd72f5ed519  lzip-1.17.tar.gz"
+md5sums="3838567460ce4a10143de4bccc64fe1c  lzip-1.18.tar.gz"
+sha256sums="47f9882a104ab05532f467a7b8f4ddbb898fa2f1e8d9d468556d6c2d04db14dd  lzip-1.18.tar.gz"
+sha512sums="cf24756bd657ef48f48304be94bf5c6c18baf7dc4fce276e79c3abeab4c4f801e901ccfb12841fa4b2402e687aeb95f2e537695442f53c45f7cb9081c3062674  lzip-1.18.tar.gz"
-- 
2.8.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Jun 25 2016 - 15:52:04 GMT