[arch-commits] Commit in libzip/repos (6 files)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Mon Jan 6 20:32:13 UTC 2014
Date: Monday, January 6, 2014 @ 21:32:13
Author: lcarlier
Revision: 203253
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libzip/repos/testing-i686/
libzip/repos/testing-i686/PKGBUILD
(from rev 203252, libzip/trunk/PKGBUILD)
libzip/repos/testing-i686/fix-headers.patch
(from rev 203252, libzip/trunk/fix-headers.patch)
libzip/repos/testing-x86_64/
libzip/repos/testing-x86_64/PKGBUILD
(from rev 203252, libzip/trunk/PKGBUILD)
libzip/repos/testing-x86_64/fix-headers.patch
(from rev 203252, libzip/trunk/fix-headers.patch)
----------------------------------+
testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-i686/fix-headers.patch | 15 +++++++++++++++
testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-x86_64/fix-headers.patch | 15 +++++++++++++++
4 files changed, 92 insertions(+)
Copied: libzip/repos/testing-i686/PKGBUILD (from rev 203252, libzip/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-01-06 20:32:13 UTC (rev 203253)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=0.11.2
+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=('44c99b67dca34707b5728e5f8434fe91')
+
+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/testing-i686/fix-headers.patch (from rev 203252, libzip/trunk/fix-headers.patch)
===================================================================
--- testing-i686/fix-headers.patch (rev 0)
+++ testing-i686/fix-headers.patch 2014-01-06 20:32:13 UTC (rev 203253)
@@ -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/testing-x86_64/PKGBUILD (from rev 203252, libzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-01-06 20:32:13 UTC (rev 203253)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=0.11.2
+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=('44c99b67dca34707b5728e5f8434fe91')
+
+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/testing-x86_64/fix-headers.patch (from rev 203252, libzip/trunk/fix-headers.patch)
===================================================================
--- testing-x86_64/fix-headers.patch (rev 0)
+++ testing-x86_64/fix-headers.patch 2014-01-06 20:32:13 UTC (rev 203253)
@@ -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