summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonsystemd-multilib/lib32-libgudev/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/nonsystemd-multilib/lib32-libgudev/PKGBUILD b/nonsystemd-multilib/lib32-libgudev/PKGBUILD
new file mode 100644
index 000000000..a13fca33f
--- /dev/null
+++ b/nonsystemd-multilib/lib32-libgudev/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer (Arch): Maxime Gauduin <alucryd@archlinux.org>
+# Contributor (Arch): FadeMind <fademind@gmail.com>
+# Contributor (Arch): Evangelos Foutras <evangelos@foutrelis.com>
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=lib32-libgudev
+pkgver=232
+pkgrel=1
+pkgrel+=.nonsystemd1
+pkgdesc='GObject bindings for libudev'
+arch=('x86_64')
+url='https://wiki.gnome.org/Projects/libgudev'
+license=('LGPL2.1')
+depends=('lib32-glib2' 'libgudev' 'lib32-eudev')
+makedepends=('gcc-multilib' 'python')
+source=("https://download.gnome.org/sources/libgudev/${pkgver}/libgudev-${pkgver}.tar.xz")
+sha256sums=('ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860')
+
+build() {
+ cd libgudev-${pkgver}
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --localstatedir='/var' \
+ --sysconfdir='/etc' \
+ --disable-introspection \
+ --disable-umockdev
+ make
+}
+
+package() {
+ cd libgudev-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf ${pkgdir}/usr/{include,share}
+}
+
+# vim: ts=2 sw=2 et: