summaryrefslogtreecommitdiff
path: root/multilib/lib32-acl/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-acl/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-acl/PKGBUILD')
-rw-r--r--multilib/lib32-acl/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/multilib/lib32-acl/PKGBUILD b/multilib/lib32-acl/PKGBUILD
new file mode 100644
index 000000000..6cfc4ec30
--- /dev/null
+++ b/multilib/lib32-acl/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas@archlinux.org>
+
+pkgname=lib32-acl
+pkgver=2.2.49
+pkgrel=1
+pkgdesc="Access control list libraries (32-bit)"
+arch=('x86_64')
+url="http://savannah.nongnu.org/projects/acl"
+license=('LGPL')
+depends=('lib32-attr' 'acl')
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=(http://mirrors.zerg.biz/nongnu/acl/acl-${pkgver}.src.tar.gz)
+sha256sums=('b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5')
+
+build() {
+ cd "${srcdir}/acl-${pkgver}"
+
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ export INSTALL_USER=root INSTALL_GROUP=root
+ ./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32
+ make
+}
+
+package() {
+ cd "${srcdir}/acl-${pkgver}"
+
+ make DIST_ROOT="${pkgdir}" install install-lib install-dev
+
+ rm -rf ${pkgdir}/usr/{bin,include,share}
+}