summaryrefslogtreecommitdiff
path: root/nonsystemd-multilib/lib32-eudev/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2021-06-27 22:28:55 -0400
committerDavid P <megver83@parabola.nu>2021-06-27 22:28:55 -0400
commit9a9d1f82c3f79eec3be8f18cd37460f96aa0439e (patch)
treeda0b958cfd58ad71cc381cd6428949cb67d8e4a2 /nonsystemd-multilib/lib32-eudev/PKGBUILD
parent92b22559f4dd7adb15e8769f157ecb86fc2ea043 (diff)
downloadabslibre-9a9d1f82c3f79eec3be8f18cd37460f96aa0439e.tar.gz
abslibre-9a9d1f82c3f79eec3be8f18cd37460f96aa0439e.tar.bz2
abslibre-9a9d1f82c3f79eec3be8f18cd37460f96aa0439e.zip
addpkg: nonsystemd-multilib/lib32-eudev 3.2.10-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd-multilib/lib32-eudev/PKGBUILD')
-rw-r--r--nonsystemd-multilib/lib32-eudev/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/nonsystemd-multilib/lib32-eudev/PKGBUILD b/nonsystemd-multilib/lib32-eudev/PKGBUILD
new file mode 100644
index 000000000..aef082a53
--- /dev/null
+++ b/nonsystemd-multilib/lib32-eudev/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: David P. <megver83@parabola.nu>
+# Maintainer (Artix): Chris Cromer <cromer@artixlinux.org>
+
+_udevver=246
+_pkgname=eudev
+
+pkgname=lib32-eudev
+pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)"
+pkgver=3.2.10
+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=('6492629da4024d2d21bb1a79d724e013d4152956099a5c63b09c8ee4da7f9b2b')
+
+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
+
+ 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
+}