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 # 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 _pkgbasename=libcap
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.22 pkgver=2.25
pkgrel=1 pkgrel=1
pkgdesc="POSIX 1003.1e capabilities (32-bit)" pkgdesc="POSIX 1003.1e capabilities (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/" url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
license=('GPL') license=('GPL')
depends=('lib32-attr' $_pkgbasename=$pkgver) depends=('lib32-attr' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib') makedepends=('lib32-gcc-libs' 'linux-api-headers')
#source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${_pkgbasename}-${pkgver}.tar.gz) source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${pkgver}.tar.xz)
source=(ftp://ftp.archlinux.org/other/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz) md5sums=('6666b839e5d46c2ad33fc8aa2ceb5f77')
md5sums=('b4896816b626bea445f0b3849bdd4077')
build() { build() {
cd ${srcdir}/${_pkgbasename}-${pkgver} cd "${srcdir}/${_pkgbasename}-${pkgver}"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" 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} chmod 755 ${pkgdir}/usr/lib32/libcap.so.${pkgver}
rm -rf "${pkgdir}/usr/include" 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