lib32/lib32-acl/PKGBUILD

37 lines
961 B
Bash
Raw Normal View History

2011-05-02 19:25:51 +08:00
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=acl
2011-05-02 19:25:51 +08:00
pkgname=lib32-acl
pkgver=2.2.52
2014-07-05 01:50:50 +08:00
pkgrel=2
2011-05-02 19:25:51 +08:00
pkgdesc="Access control list libraries (32-bit)"
arch=('x86_64')
url="http://savannah.nongnu.org/projects/acl"
license=('LGPL')
depends=('lib32-attr' $_pkgbasename=$pkgver)
2011-05-02 19:25:51 +08:00
makedepends=('gcc-multilib')
source=(http://mirrors.zerg.biz/nongnu/acl/acl-${pkgver}.src.tar.gz)
md5sums=('a61415312426e9c2212bd7dc7929abda')
2011-05-02 19:25:51 +08:00
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}
}