summaryrefslogtreecommitdiff
path: root/nonsystemd-multilib/lib32-libgudev/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-11 13:54:25 -0300
committerDavid P <megver83@parabola.nu>2018-05-11 13:54:25 -0300
commit2baf5e024a5e06ae2ee46b3d49357b712a9ff232 (patch)
treeb9c7b43876e158bee98d9f317b4ec1c517bb191b /nonsystemd-multilib/lib32-libgudev/PKGBUILD
parente952048afa727fc1789b15aa14ac5abb289e8fc9 (diff)
downloadabslibre-2baf5e024a5e06ae2ee46b3d49357b712a9ff232.tar.gz
abslibre-2baf5e024a5e06ae2ee46b3d49357b712a9ff232.tar.bz2
abslibre-2baf5e024a5e06ae2ee46b3d49357b712a9ff232.zip
nonsystemd-multilib/lib32-libgudev: add package
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd-multilib/lib32-libgudev/PKGBUILD')
-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: