Date: Wednesday, December 27, 2017 @ 07:32:32 Author: lcarlier Revision: 313674
archrelease: copy trunk to testing-x86_64 Added: libzip/repos/testing-x86_64/ libzip/repos/testing-x86_64/PKGBUILD (from rev 313673, libzip/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: libzip/repos/testing-x86_64/PKGBUILD (from rev 313673, libzip/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-12-27 07:32:32 UTC (rev 313674) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=libzip +pkgver=1.3.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=('x86_64') +depends=('zlib') +source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz") +md5sums=('4fc45f0fb4c95cc340a40d50257dfd0f') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}