[arch-commits] Commit in libzip/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 30 09:59:28 UTC 2019


    Date: Sunday, June 30, 2019 @ 09:59:27
  Author: foutrelis
Revision: 357089

archrelease: copy trunk to staging-x86_64

Added:
  libzip/repos/staging-x86_64/
  libzip/repos/staging-x86_64/PKGBUILD
    (from rev 357088, libzip/trunk/PKGBUILD)

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

Copied: libzip/repos/staging-x86_64/PKGBUILD (from rev 357088, libzip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-06-30 09:59:27 UTC (rev 357089)
@@ -0,0 +1,31 @@
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=1.5.2
+pkgrel=2
+pkgdesc="A C library for reading, creating, and modifying zip archives"
+url="https://libzip.org"
+license=('BSD')
+arch=('x86_64')
+depends=('zlib' 'bzip2' 'openssl' 'gnutls')
+makedepends=('cmake')
+source=("${url}/download/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4')
+
+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"
+}



More information about the arch-commits mailing list