[arch-commits] Commit in libzip/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Fri Jan 19 14:26:31 UTC 2018
Date: Friday, January 19, 2018 @ 14:26:30
Author: lcarlier
Revision: 315154
archrelease: copy trunk to testing-x86_64
Added:
libzip/repos/testing-x86_64/
libzip/repos/testing-x86_64/PKGBUILD
(from rev 315153, libzip/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: libzip/repos/testing-x86_64/PKGBUILD (from rev 315153, libzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-01-19 14:26:30 UTC (rev 315154)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libzip
+pkgver=1.4.0
+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' 'bzip2')
+makedepends=('cmake')
+source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('e508aba025f5f94b267d5120fc33761bcd98440ebe49dbfe2ed3df3afeacc7b1')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ 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