summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorudeved2015-06-24 15:31:18 +0200
committerudeved2015-06-24 15:31:18 +0200
commit7a6295dc4090e49bb47f51b64ffa4f6836f79ec5 (patch)
tree99e4d29a94e09edd5e8becdaef75d4011de99aff
downloadaur-7a6295dc4090e49bb47f51b64ffa4f6836f79ec5.tar.gz
initial commit eudev-systemdcompat-211-2
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD78
2 files changed, 109 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8af7f1ea94f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = eudev-systemdcompat
+ pkgdesc = systemd client libraries without udev; systemd compatibility package
+ pkgver = 221
+ pkgrel = 2
+ url = http://www.freedesktop.org/wiki/Software/systemd
+ arch = i686
+ arch = x86_64
+ groups = eudev-base
+ license = GPL2
+ depends = glib2
+ depends = glibc
+ depends = libgcrypt
+ depends = xz
+ depends = eudev>=3.1.2
+ optdepends = upower-pm-utils: pm-utils support
+ provides = libsystemd=221
+ provides = systemd=221
+ provides = systemd-tools=221
+ provides = libsystemd.so
+ provides = libsystemd-daemon.so
+ provides = libsystemd-id128.so
+ provides = libsystemd-journal.so
+ provides = libsystemd-login.so
+ conflicts = systemd
+ conflicts = systemd-tools
+ conflicts = libsystemd
+ conflicts = openrc-systemdcompat
+ replaces = openrc-systemdcompat
+
+pkgname = eudev-systemdcompat
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..52e8bf537e9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,78 @@
+# Maintainer: artoo <artoo@manjaro.org>
+# Contributor: Philip Müller <philm|manjaro|org>
+# Contributor: Dave Reisner <dreisner@archlinux.org>
+# Contributor: Tom Gundersen <teg@jklm.no>
+
+_spkgrel=1
+_y=2015
+_m=05
+_d=23
+_url=http://seblu.net/a/arm/$_y/$_m/$_d/core/os
+_repo=http://mirror.netcologne.de/archlinux/core/os
+
+pkgname=eudev-systemdcompat
+pkgver=221
+pkgrel=2
+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>=3.1.2')
+optdepends=('upower-pm-utils: pm-utils support')
+conflicts=('systemd'
+ 'systemd-tools'
+ 'libsystemd'
+ 'openrc-systemdcompat')
+replaces=('openrc-systemdcompat')
+
+if [ "$CARCH" = "i686" ]; then
+ source=("$_repo/i686/libsystemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz"
+ "$_repo/i686/systemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz")
+ sha256sums=('8b314f4bf6773ef9211f46d34cee7112cade6b567e18a8c270aa3822a2838362'
+ '8f783aaa36927c5082cd42f2738f90cd81da927959b18afbef42353a5cfc1c9c')
+elif [ "$CARCH" = "x86_64" ]; then
+ source=("$_repo/x86_64/libsystemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz"
+ "$_repo/x86_64/systemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz")
+ sha256sums=('567732f68b3a6c583516205bd2fddef4f7db63bd869988cb7c1f34b401968c15'
+ '53faf6a01bd593b077a44b3d9a4bf66540f7c0f7ba3c6ea84a1ddcab28bdb573')
+fi
+
+# if [ "$CARCH" = "i686" ]; then
+# source=("$_url/i686/libsystemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz"
+# "$_url/i686/systemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz")
+# sha256sums=('5dd169b36e126702d683a2b81efcc80a830fea622dc83380dbec94513876a586'
+# 'f9f3d59c9fa2ed6474216feca2fc36fcb231aa8ca07f69d6a4f4f10db84399ab')
+# elif [ "$CARCH" = "x86_64" ]; then
+# source=("$_url/x86_64/libsystemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz"
+# "$_url/x86_64/systemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz")
+# sha256sums=('f9f3d59c9fa2ed6474216feca2fc36fcb231aa8ca07f69d6a4f4f10db84399ab'
+# 'f9f3d59c9fa2ed6474216feca2fc36fcb231aa8ca07f69d6a4f4f10db84399ab')
+# fi
+
+prepare() {
+ #clean libsystemd
+ rm usr/lib/libudev*.so*
+
+ # clean systemd
+ rm -r {etc,var,usr/{include,share}}
+ rm usr/lib/libnss*
+ for d in usr/lib/*;do
+ [[ -d $d ]] && rm -r $d
+ done
+ for f in usr/bin/*;do
+ [[ $f != 'usr/bin/systemd-tmpfiles' && $f != 'usr/bin/systemd-sysusers' ]] && rm $f
+ done
+}
+
+package() {
+ mv "$srcdir/usr/" "$pkgdir"
+}