[arch-commits] Commit in lib32-libcap/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 9 21:29:57 UTC 2018
Date: Friday, November 9, 2018 @ 21:29:57
Author: foutrelis
Revision: 404654
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-libcap/repos/multilib-staging-x86_64/
lib32-libcap/repos/multilib-staging-x86_64/PKGBUILD
(from rev 404652, lib32-libcap/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: lib32-libcap/repos/multilib-staging-x86_64/PKGBUILD (from rev 404652, lib32-libcap/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2018-11-09 21:29:57 UTC (rev 404654)
@@ -0,0 +1,32 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+_pkgbasename=libcap
+pkgname=lib32-$_pkgbasename
+pkgver=2.25
+pkgrel=2
+pkgdesc="POSIX 1003.1e capabilities (32-bit)"
+arch=(x86_64)
+url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
+license=('GPL2')
+depends=('lib32-attr' $_pkgbasename)
+makedepends=('gcc-multilib' 'linux-api-headers')
+source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${pkgver}.tar.xz)
+md5sums=('6666b839e5d46c2ad33fc8aa2ceb5f77')
+
+build() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ make -C libcap CC="gcc -m32" prefix=/usr lib=lib32
+}
+
+package() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+ make -C libcap prefix=/usr lib=lib32 DESTDIR=${pkgdir} install
+ chmod 755 ${pkgdir}/usr/lib32/libcap.so.${pkgver}
+
+ rm -rf "${pkgdir}/usr/include"
+}
More information about the arch-commits
mailing list