[arch-commits] Commit in libzip/trunk (PKGBUILD fix-headers.patch)

2016-02-24 Thread Laurent Carlier
Date: Wednesday, February 24, 2016 @ 13:06:36
  Author: lcarlier
Revision: 260218

upgpkg: libzip 1.1.2-1

upstream update 1.1.2

Modified:
  libzip/trunk/PKGBUILD
Deleted:
  libzip/trunk/fix-headers.patch

---+
 PKGBUILD  |4 ++--
 fix-headers.patch |   15 ---
 2 files changed, 2 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-24 11:36:37 UTC (rev 260217)
+++ PKGBUILD2016-02-24 12:06:36 UTC (rev 260218)
@@ -3,7 +3,7 @@
 # Contributor: Tobias Powalowski 
 
 pkgname=libzip
-pkgver=1.0.1
+pkgver=1.1.2
 pkgrel=1
 pkgdesc="A C library for reading, creating, and modifying zip archives"
 url="http://www.nih.at/libzip/index.html;
@@ -11,7 +11,7 @@
 arch=('i686' 'x86_64')
 depends=('zlib')
 source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
-md5sums=('e2371fc6f04a46efdaf8cbf4118ffafd')
+md5sums=('d79c12d2405366cd954dd8e2144efbf7')
 
 build() {
   cd ${pkgname}-${pkgver}

Deleted: fix-headers.patch
===
--- fix-headers.patch   2016-02-24 11:36:37 UTC (rev 260217)
+++ fix-headers.patch   2016-02-24 12:06:36 UTC (rev 260218)
@@ -1,15 +0,0 @@
-diff -urN libzip-0.10rc1.old/lib/Makefile.am libzip-0.10rc1/lib/Makefile.am
 libzip-0.10rc1.old/lib/Makefile.am 2011-03-05 01:07:33.921722002 +0100
-+++ libzip-0.10rc1/lib/Makefile.am 2011-03-05 20:29:30.349388003 +0100
-@@ -2,8 +2,9 @@
- 
- lib_LTLIBRARIES = libzip.la
- noinst_HEADERS = zipint.h
--include_HEADERS = zip.h
--libinclude_HEADERS = zipconf.h
-+include_HEADERS = \
-+  zip.h \
-+  zipconf.h
- 
- # also update CMakeLists.txt when changing version
- libzip_la_LDFLAGS=-no-undefined -version-info 2:0


[arch-commits] Commit in libzip/trunk (PKGBUILD fix-headers.patch)

2011-05-04 Thread Andrea Scarpino
Date: Wednesday, May 4, 2011 @ 03:26:57
  Author: andrea
Revision: 122444

upgpkg: libzip 0.10-1
upstream release

Added:
  libzip/trunk/fix-headers.patch
Modified:
  libzip/trunk/PKGBUILD

---+
 PKGBUILD  |   18 +++---
 fix-headers.patch |   15 +++
 2 files changed, 26 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-05-04 07:04:53 UTC (rev 122443)
+++ PKGBUILD2011-05-04 07:26:57 UTC (rev 122444)
@@ -3,7 +3,7 @@
 # Contributor: Tobias Powalowski tp...@archlinux.org
 
 pkgname=libzip
-pkgver=0.9.3
+pkgver=0.10
 pkgrel=1
 pkgdesc=A C library for reading, creating, and modifying zip archives
 url=http://www.nih.at/libzip/index.html;
@@ -11,16 +11,20 @@
 arch=('i686' 'x86_64')
 depends=('zlib')
 options=('!libtool')
-source=(http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz;)
-md5sums=('e5fa5d0c5d2ad4c7a0c0fc7f5a1695b9')
+source=(http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz;
+'fix-headers.patch')
+md5sums=('47cdfcbc08c8bea0b52fdee4bf591622'
+ '249395bd3a426c4c4e993e9d4753e1dd')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  patch -p1 -i ${srcdir}/fix-headers.patch
   ./configure --prefix=/usr
-  make || return 1
+  make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install || return 1
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
 }

Added: fix-headers.patch
===
--- fix-headers.patch   (rev 0)
+++ fix-headers.patch   2011-05-04 07:26:57 UTC (rev 122444)
@@ -0,0 +1,15 @@
+diff -urN libzip-0.10rc1.old/lib/Makefile.am libzip-0.10rc1/lib/Makefile.am
+--- libzip-0.10rc1.old/lib/Makefile.am 2011-03-05 01:07:33.921722002 +0100
 libzip-0.10rc1/lib/Makefile.am 2011-03-05 20:29:30.349388003 +0100
+@@ -2,8 +2,9 @@
+ 
+ lib_LTLIBRARIES = libzip.la
+ noinst_HEADERS = zipint.h
+-include_HEADERS = zip.h
+-libinclude_HEADERS = zipconf.h
++include_HEADERS = \
++  zip.h \
++  zipconf.h
+ 
+ # also update CMakeLists.txt when changing version
+ libzip_la_LDFLAGS=-no-undefined -version-info 2:0