summaryrefslogtreecommitdiff
path: root/nonsystemd-multilib/lib32-libgudev
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd-multilib/lib32-libgudev')
-rw-r--r--nonsystemd-multilib/lib32-libgudev/PKGBUILD53
1 files changed, 33 insertions, 20 deletions
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. <megver83@parabola.nu>
# 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
+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}
}