From 2baf5e024a5e06ae2ee46b3d49357b712a9ff232 Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 11 May 2018 13:54:25 -0300 Subject: nonsystemd-multilib/lib32-libgudev: add package Signed-off-by: David P --- nonsystemd-multilib/lib32-libgudev/PKGBUILD | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 nonsystemd-multilib/lib32-libgudev/PKGBUILD 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 +# Contributor (Arch): FadeMind +# Contributor (Arch): Evangelos Foutras +# Maintainer: David P. + +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: -- cgit v1.2.3