blob: a1bf9f6c86354cb44129d8d8ac26624b35e7e6c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# 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>
pkgname=lib32-libgudev
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
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
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-gtk-doc \
--disable-umockdev
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
make DESTDIR="${pkgdir}" -C libgudev install
rm -rf ${pkgdir}/usr/{include,share}
}
# vim: ts=2 sw=2 et:
|