aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/libcap/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index 01fdf3dd1a..22955edffc 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -1,25 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.22
-pkgrel=1
+pkgrel=2
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
license="GPL"
url="http://www.friedhoff.org/posixfilecaps.html"
depends=
makedepends="perl attr-dev"
-source="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$pkgname-$pkgver.tar.gz
- "
+source=" http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"
-
+_builddir="$srcdir"/$pkgname-$pkgver
build ()
{
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make lib=/lib prefix=/usr DESTDIR="$pkgdir"
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install
}
-md5sums="b4896816b626bea445f0b3849bdd4077 libcap-2.22.tar.gz"
+md5sums="ce64058bdb3f086ddbfca8ce6c919845 libcap-2.22.tar.bz2"