From ae9e3376ef043b3dd92e89358a8cdb9f68c7b681 Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 14 Aug 2019 23:43:58 -0400 Subject: upgpkg: nonsystemd-multilib/lib32-libgudev 233-1.nonsystemd1 Signed-off-by: David P --- nonsystemd-multilib/lib32-libgudev/PKGBUILD | 53 ++++++++++++++++++----------- 1 file changed, 33 insertions(+), 20 deletions(-) (limited to 'nonsystemd-multilib') diff --git a/nonsystemd-multilib/lib32-libgudev/PKGBUILD b/nonsystemd-multilib/lib32-libgudev/PKGBUILD index a13fca33f..a1bf9f6c8 100644 --- a/nonsystemd-multilib/lib32-libgudev/PKGBUILD +++ b/nonsystemd-multilib/lib32-libgudev/PKGBUILD @@ -1,43 +1,56 @@ -# $Id$ +# Maintainer: David P. # Maintainer (Arch): Maxime Gauduin # Contributor (Arch): FadeMind # Contributor (Arch): Evangelos Foutras -# Maintainer: David P. pkgname=lib32-libgudev -pkgver=232 +pkgver=233 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') +arch=(x86_64) +url=https://wiki.gnome.org/Projects/libgudev +license=(LGPL2.1) +depends=( + lib32-glib2 + lib32-eudev + libgudev +) +makedepends=( + git + gtk-doc + python +) +provides=(libgudev-1.0.so) +source=(git+https://gitlab.gnome.org/GNOME/libgudev.git#tag=${pkgver}) +sha256sums=(SKIP) + +prepare() { + cd libgudev + + NOCONFIGURE=1 ./autogen.sh +} build() { - cd libgudev-${pkgver} + cd libgudev export CC='gcc -m32' export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + export PKG_CONFIG_PATH=/usr/lib32/pkgconfig ./configure \ - --prefix='/usr' \ - --libdir='/usr/lib32' \ - --localstatedir='/var' \ - --sysconfdir='/etc' \ - --disable-introspection \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --disable-gtk-doc \ --disable-umockdev + sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { - cd libgudev-${pkgver} - - make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" -C libgudev install rm -rf ${pkgdir}/usr/{include,share} } -- cgit v1.2.3