summaryrefslogtreecommitdiff
path: root/multilib-testing/lib32-util-linux
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-07 00:03:53 +0000
committerroot <root@rshg054.dnsready.net>2012-09-07 00:03:53 +0000
commited51a8c1611ffa602f5f9628c858f6edbc218fc8 (patch)
tree9da1c83153c6a7313cc5fbdc6a361083051e9f1d /multilib-testing/lib32-util-linux
parent3a491cfc574c49ee5f006f74323b6d432d372ab8 (diff)
Fri Sep 7 00:03:53 UTC 2012
Diffstat (limited to 'multilib-testing/lib32-util-linux')
-rw-r--r--multilib-testing/lib32-util-linux/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/multilib-testing/lib32-util-linux/PKGBUILD b/multilib-testing/lib32-util-linux/PKGBUILD
new file mode 100644
index 000000000..704327be8
--- /dev/null
+++ b/multilib-testing/lib32-util-linux/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 75896 2012-09-05 04:43:08Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
+_pkgbasename=util-linux
+pkgname=lib32-$_pkgbasename
+pkgver=2.22
+pkgrel=1
+pkgdesc="Miscellaneous system utilities for Linux (32-bit)"
+url='http://www.kernel.org/pub/linux/utils/util-linux/'
+arch=('x86_64')
+depends=('lib32-glibc' "$_pkgbasename")
+makedepends=('gcc-multilib')
+provides=('lib32-util-linux-ng')
+conflicts=('lib32-util-linux-ng')
+replaces=('lib32-util-linux-ng')
+license=('GPL2')
+options=('!libtool' '!emptydirs')
+source=("ftp://ftp.kernel.org/pub/linux/utils/util-linux/v$pkgver/util-linux-$pkgver.tar.xz")
+md5sums=('ba2d8cc12a937231c80a04f7f7149303')
+
+shopt -s extglob
+
+build() {
+ cd "$_pkgbasename-$pkgver"
+
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./configure --without-ncurses --libdir=/usr/lib32
+
+ make lib{uuid,blkid,mount}.la
+}
+
+package() {
+ make -C "$_pkgbasename-$pkgver" \
+ DESTDIR="$pkgdir" \
+ install-usrlib_execLTLIBRARIES \
+ install-pkgconfigDATA
+}