Date: Wednesday, February 24, 2016 @ 13:06:43 Author: lcarlier Revision: 260219
archrelease: copy trunk to testing-i686, testing-x86_64 Added: libzip/repos/testing-i686/ libzip/repos/testing-i686/PKGBUILD (from rev 260218, libzip/trunk/PKGBUILD) libzip/repos/testing-x86_64/ libzip/repos/testing-x86_64/PKGBUILD (from rev 260218, libzip/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: libzip/repos/testing-i686/PKGBUILD (from rev 260218, libzip/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-02-24 12:06:43 UTC (rev 260219) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=libzip +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" +license=('BSD') +arch=('i686' 'x86_64') +depends=('zlib') +source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz") +md5sums=('d79c12d2405366cd954dd8e2144efbf7') + +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/PKGBUILD (from rev 260218, libzip/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-02-24 12:06:43 UTC (rev 260219) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=libzip +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" +license=('BSD') +arch=('i686' 'x86_64') +depends=('zlib') +source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz") +md5sums=('d79c12d2405366cd954dd8e2144efbf7') + +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" +}