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

Felix Yan felixonmars at archlinux.org
Tue May 5 05:17:03 UTC 2020


    Date: Tuesday, May 5, 2020 @ 05:17:02
  Author: felixonmars
Revision: 382242

archrelease: copy trunk to staging-x86_64

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

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

Copied: libzip/repos/staging-x86_64/PKGBUILD (from rev 382241, libzip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-05 05:17:02 UTC (rev 382242)
@@ -0,0 +1,31 @@
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=1.6.1
+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=('705dac7a671b3f440181481e607b0908129a9cf1ddfcba75d66436c0e7d33641')
+
+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