PKGBUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): Chris Cromer <cromer@artixlinux.org>
  3. _udevver=246
  4. _pkgname=eudev
  5. pkgname=lib32-eudev
  6. pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)"
  7. pkgver=3.2.10
  8. pkgrel=1
  9. arch=('x86_64')
  10. url="http://www.gentoo.org/proj/en/eudev/"
  11. license=('GPL')
  12. depends=('lib32-glib2' 'lib32-glibc')
  13. makedepends=('lib32-gcc-libs' 'lib32-util-linux' 'gobject-introspection' 'gperf' 'python2' 'gtk-doc')
  14. provides=("lib32-udev=${_udevver}")
  15. #conflicts=("lib32-systemd")
  16. options=(!makeflags !libtool)
  17. source=("$pkgname-$pkgver.tar.gz::https://github.com/gentoo/eudev/archive/v${pkgver}.tar.gz")
  18. sha256sums=('6492629da4024d2d21bb1a79d724e013d4152956099a5c63b09c8ee4da7f9b2b')
  19. build() {
  20. export CC="gcc -m32"
  21. export CXX="g++ -m32"
  22. export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
  23. cd "${srcdir}/${_pkgname}-${pkgver}"
  24. ./autogen.sh
  25. ./configure \
  26. --prefix=/usr \
  27. --with-rootprefix=/usr \
  28. --sysconfdir=/etc \
  29. --libdir=/usr/lib32 \
  30. --sbindir=/usr/bin \
  31. --enable-introspection \
  32. --disable-manpages
  33. make
  34. }
  35. package() {
  36. cd "${srcdir}/${_pkgname}-${pkgver}"
  37. make DESTDIR="${pkgdir}" -C src/libudev install
  38. make DESTDIR="${pkgdir}" -C src/shared uninstall
  39. rm -rf ${pkgdir}/usr/include
  40. }