Commit 2e61410a authored by Luca Giambonini's avatar Luca Giambonini

lib32-libcap 2.25 [skip-ci]

parent 7540e78b
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=libcap
pkgname=lib32-$_pkgbasename
pkgver=2.22
pkgver=2.25
pkgrel=1
pkgdesc="POSIX 1003.1e capabilities (32-bit)"
arch=(x86_64)
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
license=('GPL')
depends=('lib32-attr' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
#source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${_pkgbasename}-${pkgver}.tar.gz)
source=(ftp://ftp.archlinux.org/other/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('b4896816b626bea445f0b3849bdd4077')
makedepends=('lib32-gcc-libs' '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}
cd "${srcdir}/${_pkgbasename}-${pkgver}"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
make -C libcap CC="gcc -m32" prefix=/usr lib=lib32 DESTDIR=${pkgdir} install
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment