Date: Monday, April 30, 2018 @ 04:58:12
  Author: lcarlier
Revision: 323164

archrelease: copy trunk to testing-x86_64

Added:
  libzip/repos/testing-x86_64/
  libzip/repos/testing-x86_64/PKGBUILD
    (from rev 323163, libzip/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: libzip/repos/testing-x86_64/PKGBUILD (from rev 323163, 
libzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-04-30 04:58:12 UTC (rev 323164)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <[email protected]>
+# Contributor: Tobias Powalowski <[email protected]>
+
+pkgname=libzip
+pkgver=1.5.1
+pkgrel=1
+pkgdesc="A C library for reading, creating, and modifying zip archives"
+url="https://libzip.org";
+license=('BSD')
+arch=('x86_64')
+depends=('zlib' 'bzip2' 'openssl')
+makedepends=('cmake')
+source=("${url}/download/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('04ea35b6956c7b3453f1ed3f3fe40e3ddae1f43931089124579e8384e79ed372')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  mkdir build && cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    ..
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"/build
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to