summaryrefslogtreecommitdiff
path: root/nonsystemd-multilib/lib32-libgudev/PKGBUILD
blob: a13fca33f2168ee65585fcb083abf5cd464c0bbc (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
# $Id$
# 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
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: