summaryrefslogtreecommitdiff
path: root/pcr-multilib/lib32-eudev
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-11 13:23:43 -0300
committerDavid P <megver83@parabola.nu>2018-05-11 13:23:43 -0300
commit1ae4c4e72469fdc9c54365a58c8603cd888df136 (patch)
tree20ec43b35d8cf320d572840af42ca0e47196a696 /pcr-multilib/lib32-eudev
parentc2ae4432f3e216a655c99f45713aa939c9418d10 (diff)
downloadabslibre-1ae4c4e72469fdc9c54365a58c8603cd888df136.tar.gz
abslibre-1ae4c4e72469fdc9c54365a58c8603cd888df136.tar.bz2
abslibre-1ae4c4e72469fdc9c54365a58c8603cd888df136.zip
pcr-multilib/lib32-eudev: add package
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr-multilib/lib32-eudev')
-rw-r--r--pcr-multilib/lib32-eudev/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/pcr-multilib/lib32-eudev/PKGBUILD b/pcr-multilib/lib32-eudev/PKGBUILD
new file mode 100644
index 000000000..158f83de9
--- /dev/null
+++ b/pcr-multilib/lib32-eudev/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer (Artix): Chris Cromer <cromer@artixlinux.org>
+# Maintainer: David P. <megver83@parabola.nu>
+
+_udevver=220
+_pkgname=eudev
+
+pkgname=lib32-eudev
+pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)"
+pkgver=3.2.5
+pkgrel=1
+arch=('x86_64')
+url="http://www.gentoo.org/proj/en/eudev/"
+license=('GPL')
+depends=('lib32-glib2' 'lib32-glibc')
+makedepends=('lib32-gcc-libs' 'lib32-util-linux' 'gobject-introspection' 'gperf' 'python2' 'gtk-doc')
+provides=("lib32-udev=${_udevver}")
+conflicts=("lib32-systemd")
+options=(!makeflags !libtool)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gentoo/eudev/archive/v${pkgver}.tar.gz")
+sha256sums=('870920011285b919fca5c60eaa5670312eeffe3883dd8cf564cd1179fc639336')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --with-rootprefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib32 \
+ --sbindir=/usr/bin \
+ --enable-introspection \
+ --disable-manpages \
+ --disable-kmod
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" -C src/libudev install
+ make DESTDIR="${pkgdir}" -C src/shared uninstall
+ rm -rf ${pkgdir}/usr/include
+}