diff options
Diffstat (limited to 'multilib-testing')
-rw-r--r-- | multilib-testing/lib32-udev/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/multilib-testing/lib32-udev/PKGBUILD b/multilib-testing/lib32-udev/PKGBUILD new file mode 100644 index 000000000..6b91c7ba3 --- /dev/null +++ b/multilib-testing/lib32-udev/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 62945 2012-01-29 12:24:25Z lcarlier $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer: Thomas Bächler <thomas@archlinux.org> + +pkgname=('lib32-udev') +pkgver=180 +pkgrel=1 +arch=('x86_64') +pkgdesc="The userspace dev tools (udev) (32-bit)" +url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" +license=('GPL') +options=(!makeflags !libtool) +depends=('lib32-glibc' 'lib32-glib2' 'lib32-acl' 'lib32-libusb-compat' 'lib32-kmod' 'lib32-util-linux' 'udev') +makedepends=('gcc-multilib' 'gperf') +source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-$pkgver.tar.xz) +md5sums=('1cf124ab5a124ea35d4748ea414926ec') + +build() { + export CC="gcc -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd $srcdir/udev-$pkgver + + ./configure --libdir=/usr/lib32 --disable-introspection + make +} + +package() { + + cd $srcdir/udev-$pkgver + + make DESTDIR=${pkgdir} install + rm -rf ${pkgdir}/usr/{etc,include,lib,libexec,sbin,share} + rm -rf ${pkgdir}/usr/lib32/girepository* +} |