summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Cromer2016-09-04 16:37:03 -0300
committerChris Cromer2016-09-04 16:37:03 -0300
commit64bf5ad3562ed0ee072af8f35fecf023ab5b5d33 (patch)
tree2428b8dde2e449a69af807b27bde6358b64fe6e3
downloadaur-64bf5ad3562ed0ee072af8f35fecf023ab5b5d33.tar.gz
initial commit
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD52
2 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d51ee4da23b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = lib32-eudev
+ pkgdesc = The userspace dev tools (udev) forked by Gentoo (32-bit)
+ pkgver = 3.2
+ pkgrel = 1
+ url = http://dev.gentoo.org/~blueness/eudev
+ arch = x86_64
+ license = GPL
+ makedepends = gcc-multilib
+ makedepends = lib32-util-linux
+ makedepends = gobject-introspection
+ makedepends = gperf
+ makedepends = python2
+ makedepends = gtk-doc
+ makedepends = lib32-kmod
+ depends = lib32-glib2
+ depends = lib32-glibc
+ depends = eudev-systemdcompat
+ provides = lib32-udev=220
+ provides = lib32-systemd=220
+ conflicts = lib32-systemd
+ conflicts = libudev.so
+ options = !makeflags
+ options = !libtool
+ source = http://dev.gentoo.org/~blueness/eudev/eudev-3.2.tar.gz
+ sha256sums = d84a5f7942393a009afc6af0bf31e98841147a0521b91ffbed161dccac303c25
+
+pkgname = lib32-eudev
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d63b6c5a274
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,52 @@
+# Maintainer: Chris Cromer <chris@cromer.cl>
+# Maintainer: artoo <artoo@manjaro.org>
+
+_udevver=220
+_gentoo_uri="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86"
+_pkgname=eudev
+
+pkgname=lib32-eudev
+pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)"
+pkgver=3.2
+pkgrel=1
+arch=('x86_64')
+url="http://dev.gentoo.org/~blueness/eudev"
+license=('GPL')
+depends=('lib32-glib2' 'lib32-glibc' 'eudev-systemdcompat')
+makedepends=('gcc-multilib' 'lib32-util-linux' 'gobject-introspection' 'gperf' 'python2' 'gtk-doc' 'lib32-kmod')
+provides=("lib32-udev=${_udevver}" "lib32-systemd=${_udevver}")
+conflicts=('lib32-systemd' 'libudev.so')
+options=(!makeflags !libtool)
+source=("${url}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('d84a5f7942393a009afc6af0bf31e98841147a0521b91ffbed161dccac303c25')
+
+build() {
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --with-rootprefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib32 \
+ --sbindir=/usr/bin \
+ --with-modprobe=/usr/bin/modprobe \
+ --enable-introspection \
+ --disable-manpages
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ #make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" -C src/shared uninstall
+ make DESTDIR="${pkgdir}" -C src/libudev install
+ #make DESTDIR="${pkgdir}" -C src/gudev install
+ make DESTDIR="${pkgdir}" -C src/shared uninstall
+
+ #rm -rf "${pkgdir}"/etc
+ #rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+}