summaryrefslogtreecommitdiff
path: root/nonsystemd-multilib/lib32-libudev0-shim
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-11 13:54:43 -0300
committerDavid P <megver83@parabola.nu>2018-05-11 13:54:43 -0300
commit22710a34975ee1e0eb96e587c2314854f84c0cc7 (patch)
treeb70525cce0b8540638da9c0623d4e36aae67a0fd /nonsystemd-multilib/lib32-libudev0-shim
parent2baf5e024a5e06ae2ee46b3d49357b712a9ff232 (diff)
downloadabslibre-22710a34975ee1e0eb96e587c2314854f84c0cc7.tar.gz
abslibre-22710a34975ee1e0eb96e587c2314854f84c0cc7.tar.bz2
abslibre-22710a34975ee1e0eb96e587c2314854f84c0cc7.zip
nonsystemd-multilib/lib32-libudev0-shim: add package
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd-multilib/lib32-libudev0-shim')
-rw-r--r--nonsystemd-multilib/lib32-libudev0-shim/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/nonsystemd-multilib/lib32-libudev0-shim/PKGBUILD b/nonsystemd-multilib/lib32-libudev0-shim/PKGBUILD
new file mode 100644
index 000000000..8ec642ba0
--- /dev/null
+++ b/nonsystemd-multilib/lib32-libudev0-shim/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: David P. <megver83@parabola.nu>
+
+_basepkgname=libudev0-shim
+pkgname=lib32-${_basepkgname}
+pkgver=1
+pkgrel=3
+pkgrel+=.nonsystemd1
+pkgdesc='libudev.so.0 compatibility library for systems with newer udev versions (32 bit)'
+url='https://github.com/archlinux/libudev0-shim'
+arch=('x86_64')
+license=('GPL')
+provides=('lib32-libudev0')
+conflicts=('lib32-libudev0')
+depends=('libudev0-shim')
+makedepends=('systemd-dummy' 'lib32-gcc-libs' 'lib32-eudev')
+source=(${_basepkgname}.tar.gz::https://github.com/archlinux/libudev0-shim/archive/v${pkgver}.tar.gz)
+sha512sums=('794810b20be6391cb6af53c2c49705f8bd884dd6eb5d1fd5b659481a01490205cc60e0f1904c020fb0e59e984583762ba6775f977a78b95a40ba82eb93965387')
+
+build() {
+ cd ${_basepkgname}-${pkgver}
+ unset LDFLAGS
+ make CC="gcc -m32"
+}
+
+package() {
+ cd ${_basepkgname}-${pkgver}
+ install -Dm 755 libudev.so.0.0.9999 -t "${pkgdir}/usr/lib32"
+ ln -s libudev.so.0.0.9999 "${pkgdir}/usr/lib32/libudev.so.0"
+}
+
+# vim: ts=2 sw=2 et: