Patches for aports can be sent to this list

2

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

Klemens Nanni
Details
Message ID
<20160625135204.21344-3-kl3@posteo.org>
Sender timestamp
1466862724
DKIM signature
missing
Download raw message
Patch: +10 -20
---
 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
@@ -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"
-- 
2.8.3



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20160705132511.2a829a6b@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20160625135204.21344-3-kl3@posteo.org> (view parent)
Sender timestamp
1467717911
DKIM signature
missing
Download raw message
Can you please merge this into the first commit?

On Sat, 25 Jun 2016 15:52:04 +0200
Klemens Nanni <kl3@posteo.org> wrote:

> ---
>  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
> @@ -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"



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20160705134726.6be6f1c4@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20160705132511.2a829a6b@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1467719246
DKIM signature
missing
Download raw message
On Tue, 5 Jul 2016 13:25:11 +0200
Natanael Copa <ncopa@alpinelinux.org> wrote:

> Can you please merge this into the first commit?

Sorry. This is correct. I confused lzip with lzlib which are not the
same thing.

-nc

> 
> On Sat, 25 Jun 2016 15:52:04 +0200
> Klemens Nanni <kl3@posteo.org> wrote:
> 
> > ---
> >  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
> > @@ -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"  
> 
> 
> 
> ---
> Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
> 



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---