# $Id: PKGBUILD 60965 2011-12-19 19:41:38Z lcarlier $ # Maintainer: Aaron Griffin # Maintainer: Tobias Powalowski # Maintainer: Thomas Bächler pkgname=('lib32-udev') pkgver=175 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' 'udev') makedepends=('gcc-multilib' 'gperf') #source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-$pkgver.tar.bz2) source=(http://people.freedesktop.org/~kay/udev/udev-$pkgver.tar.bz2) md5sums=('2fc9c1efcbde98e3d73ffee7a77aea47') 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* }