[arch-commits] Commit in libcap-ng/repos (testing-x86_64 testing-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Nov 18 21:34:02 UTC 2020
Date: Wednesday, November 18, 2020 @ 21:34:02
Author: dvzrv
Revision: 401369
archrelease: copy trunk to testing-x86_64
Added:
libcap-ng/repos/testing-x86_64/
libcap-ng/repos/testing-x86_64/PKGBUILD
(from rev 401368, libcap-ng/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: libcap-ng/repos/testing-x86_64/PKGBUILD (from rev 401368, libcap-ng/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-11-18 21:34:02 UTC (rev 401369)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+
+pkgname=libcap-ng
+pkgver=0.8.1
+pkgrel=1
+pkgdesc='Library making programming with POSIX capabilities easier than traditional libcap'
+url='https://people.redhat.com/sgrubb/libcap-ng/'
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('glibc')
+provides=('libcap-ng.so' 'libdrop_ambient.so')
+source=(https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a246fbaabb0f9a203ce8395c9e968e6ea09be24ecbadeff7bc7c0e2f0f20cecd3bacb90e3ba6c4d13e58609751717f29b6a956715d0865bda8dd6c8b996d11cc')
+b2sums=('e5313974938bf5b60a3160c8cabdb66991c72c76f8cff6aa4ceb2d98724000e0bfd11daf8b828685573e96ca31bef79bb501b55d058d5292c3136156f82b1758')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -fiv
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --enable-static=no \
+ --without-python
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list