summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVincent Grande2020-09-11 11:35:32 -0400
committerVincent Grande2020-09-11 11:35:32 -0400
commit3610e4f5fd90e45ba9b2f30753e9ee6b29142627 (patch)
treef773b896386208af3aaba8c755a51a9d2394ed43 /PKGBUILD
downloadaur-3610e4f5fd90e45ba9b2f30753e9ee6b29142627.tar.gz
initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1afc5445fd9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Vincent Grande <shoober420@gmail.com>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libudev0-shim-nosystemd
+pkgver=1
+pkgrel=1
+pkgdesc='libudev.so.0 compatibility library for systems with newer udev versions'
+url='https://github.com/archlinux/libudev0-shim'
+arch=('i686' 'x86_64')
+license=('GPL')
+provides=('libudev0' 'libudev0-shim')
+conflicts=('libudev0' 'libudev0-shim')
+optdepends=('libeudev: eudev support'
+ 'systemd-libs: systemd support')
+source=(${pkgname}.tar.gz::https://github.com/archlinux/libudev0-shim/archive/v${pkgver}.tar.gz)
+sha512sums=('794810b20be6391cb6af53c2c49705f8bd884dd6eb5d1fd5b659481a01490205cc60e0f1904c020fb0e59e984583762ba6775f977a78b95a40ba82eb93965387')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ unset LDFLAGS
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 libudev.so.0.0.9999 -t "${pkgdir}/usr/lib"
+ ln -s libudev.so.0.0.9999 "${pkgdir}/usr/lib/libudev.so.0"
+}
+
+# vim: ts=2 sw=2 et:
+