[arch-commits] Commit in libcap-ng/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Dec 2 14:18:31 UTC 2019


    Date: Monday, December 2, 2019 @ 14:18:30
  Author: anatolik
Revision: 370211

archrelease: copy trunk to extra-x86_64

Added:
  libcap-ng/repos/extra-x86_64/
  libcap-ng/repos/extra-x86_64/PKGBUILD
    (from rev 370210, libcap-ng/trunk/PKGBUILD)

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

Copied: libcap-ng/repos/extra-x86_64/PKGBUILD (from rev 370210, libcap-ng/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2019-12-02 14:18:30 UTC (rev 370211)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+
+pkgname=libcap-ng
+pkgver=0.7.10
+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')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}.tar.gz)
+sha512sums=('371dc1c1f6e2999ef4b4173e12338e9a794e9f48bd5ce8fb4d0c05884cff277ecf24f51e4b300487f9b5f52d93de7eeb1542ebb49c82226d06dd44fa76092367')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --enable-static=no \
+    -with-python=no
+  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