summaryrefslogtreecommitdiff
path: root/pcr/eudev-systemdcompat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/eudev-systemdcompat/PKGBUILD')
-rw-r--r--pcr/eudev-systemdcompat/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/pcr/eudev-systemdcompat/PKGBUILD b/pcr/eudev-systemdcompat/PKGBUILD
new file mode 100644
index 000000000..1b49220ad
--- /dev/null
+++ b/pcr/eudev-systemdcompat/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer : freaj <freaj@riseup.net>
+# Maintainer (Manjaro): artoo <artoo@manjaro.org>
+# Contributor (Manjaro): Philip Müller <philm|manjaro|org>
+# Contributor (Manjaro): Dave Reisner <dreisner@archlinux.org>
+# Contributor (Manjaro): Tom Gundersen <teg@jklm.no>
+
+_spkgrel=8
+
+pkgname=eudev-systemdcompat
+pkgver=217
+pkgrel=4
+pkgdesc="systemd client libraries without udev; systemd compatibility package"
+arch=('i686' 'x86_64')
+license=('GPL2')
+groups=('eudev-base')
+url="http://www.freedesktop.org/wiki/Software/systemd"
+provides=("libsystemd=${pkgver}"
+ "systemd=${pkgver}"
+ "systemd-tools=${pkgver}"
+ 'libsystemd.so'
+ 'libsystemd-daemon.so'
+ 'libsystemd-id128.so'
+ 'libsystemd-journal.so'
+ 'libsystemd-login.so')
+depends=('glib2' 'glibc' 'libgcrypt' 'xz' 'eudev>=1.10')
+optdepends=('eudev-openrc: eudev initscript'
+ 'upower-pm-utils: pm-utils support')
+conflicts=('systemd'
+ 'systemd-tools'
+ 'libsystemd')
+
+if [ "$CARCH" = "i686" ]; then
+ source=("http://seblu.net/a/arm/2014/12/01/core/os/i686/libsystemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz")
+ sha256sums=('d152416683063681072ae1dbbb3d61e267eb523765a6f0bf81cea457a585edff')
+elif [ "$CARCH" = "x86_64" ]; then
+ source=("http://seblu.net/a/arm/2014/12/01/core/os/x86_64/libsystemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz")
+ sha256sums=('3bda8ac94e23f3b3b73de9d2aff6b2e23d601007302e80893a31c9502505cd3e')
+fi
+
+prepare() {
+ rm usr/lib/lib{g,}udev*.so*
+}
+
+package() {
+ mv "$srcdir/usr/" "$pkgdir"
+}