[arch-commits] Commit in libzip/repos (6 files)

Laurent Carlier lcarlier at archlinux.org
Sat May 9 05:47:13 UTC 2015


    Date: Saturday, May 9, 2015 @ 07:47:12
  Author: lcarlier
Revision: 238748

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  libzip/repos/staging-i686/
  libzip/repos/staging-i686/PKGBUILD
    (from rev 238747, libzip/trunk/PKGBUILD)
  libzip/repos/staging-i686/fix-headers.patch
    (from rev 238747, libzip/trunk/fix-headers.patch)
  libzip/repos/staging-x86_64/
  libzip/repos/staging-x86_64/PKGBUILD
    (from rev 238747, libzip/trunk/PKGBUILD)
  libzip/repos/staging-x86_64/fix-headers.patch
    (from rev 238747, libzip/trunk/fix-headers.patch)

----------------------------------+
 staging-i686/PKGBUILD            |   31 +++++++++++++++++++++++++++++++
 staging-i686/fix-headers.patch   |   15 +++++++++++++++
 staging-x86_64/PKGBUILD          |   31 +++++++++++++++++++++++++++++++
 staging-x86_64/fix-headers.patch |   15 +++++++++++++++
 4 files changed, 92 insertions(+)

Copied: libzip/repos/staging-i686/PKGBUILD (from rev 238747, libzip/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-05-09 05:47:12 UTC (rev 238748)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="A C library for reading, creating, and modifying zip archives"
+url="http://www.nih.at/libzip/index.html"
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('zlib')
+source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('e2371fc6f04a46efdaf8cbf4118ffafd')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # preserve old header path for compatibility
+  ln -s /usr/lib/libzip/include/zipconf.h "${pkgdir}/usr/include/zipconf.h"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: libzip/repos/staging-i686/fix-headers.patch (from rev 238747, libzip/trunk/fix-headers.patch)
===================================================================
--- staging-i686/fix-headers.patch	                        (rev 0)
+++ staging-i686/fix-headers.patch	2015-05-09 05:47:12 UTC (rev 238748)
@@ -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

Copied: libzip/repos/staging-x86_64/PKGBUILD (from rev 238747, libzip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-05-09 05:47:12 UTC (rev 238748)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="A C library for reading, creating, and modifying zip archives"
+url="http://www.nih.at/libzip/index.html"
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('zlib')
+source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('e2371fc6f04a46efdaf8cbf4118ffafd')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # preserve old header path for compatibility
+  ln -s /usr/lib/libzip/include/zipconf.h "${pkgdir}/usr/include/zipconf.h"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: libzip/repos/staging-x86_64/fix-headers.patch (from rev 238747, libzip/trunk/fix-headers.patch)
===================================================================
--- staging-x86_64/fix-headers.patch	                        (rev 0)
+++ staging-x86_64/fix-headers.patch	2015-05-09 05:47:12 UTC (rev 238748)
@@ -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



More information about the arch-commits mailing list