diff options
author | Klemens Nanni <kl3@posteo.org> | 2016-06-25 15:52:04 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-07-05 11:49:13 +0000 |
commit | 633b848c9e5626fe3c2a329d5c354e50b904138c (patch) | |
tree | 14658b7aac135489240a215b9d6635b5c068171a /main | |
parent | 8e5694d744a6fe38fcbbecca4f262736048d667e (diff) | |
download | aports-633b848c9e5626fe3c2a329d5c354e50b904138c.tar.bz2 aports-633b848c9e5626fe3c2a329d5c354e50b904138c.tar.xz |
main/lzip: upgrade to 1.18, clean APKBUILD
Diffstat (limited to 'main')
-rw-r--r-- | main/lzip/APKBUILD | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/main/lzip/APKBUILD b/main/lzip/APKBUILD index 4576d6cc79..972326f1e7 100644 --- a/main/lzip/APKBUILD +++ b/main/lzip/APKBUILD @@ -1,41 +1,31 @@ # Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> # Maintainer: ScrumpyJack <scrumpyjack@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" |