[arch-commits] Commit in libzip/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Mon Feb 17 08:01:46 UTC 2020
Date: Monday, February 17, 2020 @ 08:01:46
Author: lcarlier
Revision: 375735
archrelease: copy trunk to testing-x86_64
Added:
libzip/repos/testing-x86_64/
libzip/repos/testing-x86_64/PKGBUILD
(from rev 375734, libzip/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libzip/repos/testing-x86_64/PKGBUILD (from rev 375734, libzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-02-17 08:01:46 UTC (rev 375735)
@@ -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=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' '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