summaryrefslogtreecommitdiff
path: root/nonsystemd-multilib/lib32-libgudev
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-08-14 23:43:58 -0400
committerDavid P <megver83@parabola.nu>2019-08-14 23:43:58 -0400
commitae9e3376ef043b3dd92e89358a8cdb9f68c7b681 (patch)
tree9ec78c27db10ce9e5dabb81028115675d6abe828 /nonsystemd-multilib/lib32-libgudev
parentd8608d83e2809dbb134fabb3362913dfa6f78ce9 (diff)
downloadabslibre-ae9e3376ef043b3dd92e89358a8cdb9f68c7b681.tar.gz
abslibre-ae9e3376ef043b3dd92e89358a8cdb9f68c7b681.tar.bz2
abslibre-ae9e3376ef043b3dd92e89358a8cdb9f68c7b681.zip
upgpkg: nonsystemd-multilib/lib32-libgudev 233-1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
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}
}