summaryrefslogtreecommitdiff
path: root/pcr/eudev-systemdcompat
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-07 04:30:40 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-07 04:30:40 -0500
commitaae985875958d69cab7e6dea8b6356befb1d8fa0 (patch)
treeba0846768097ab223cbdfc0439b4449ee2ef661c /pcr/eudev-systemdcompat
parente8fe2d460afe0dd0ec25889e4cde70c024f4dbed (diff)
eudev-systemdcompat-226-1: updating version
Diffstat (limited to 'pcr/eudev-systemdcompat')
-rw-r--r--pcr/eudev-systemdcompat/PKGBUILD56
1 files changed, 39 insertions, 17 deletions
diff --git a/pcr/eudev-systemdcompat/PKGBUILD b/pcr/eudev-systemdcompat/PKGBUILD
index 1b49220ad..6e7bee3fe 100644
--- a/pcr/eudev-systemdcompat/PKGBUILD
+++ b/pcr/eudev-systemdcompat/PKGBUILD
@@ -1,16 +1,17 @@
-# Maintainer : freaj <freaj@riseup.net>
-# Maintainer (Manjaro): artoo <artoo@manjaro.org>
+# 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>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_spkgrel=8
+_spkgrel=1
+_repo=https://repo.parabola.nu
pkgname=eudev-systemdcompat
-pkgver=217
-pkgrel=4
+pkgver=226
+pkgrel=1
pkgdesc="systemd client libraries without udev; systemd compatibility package"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
license=('GPL2')
groups=('eudev-base')
url="http://www.freedesktop.org/wiki/Software/systemd"
@@ -22,25 +23,46 @@ provides=("libsystemd=${pkgver}"
'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')
+depends=('glib2' 'glibc' 'libgcrypt' 'xz' 'eudev>=3.1.2' 'lz4')
+optdepends=('upower-pm-utils: pm-utils support')
conflicts=('systemd'
- 'systemd-tools'
- 'libsystemd')
+ 'systemd-tools'
+ 'libsystemd'
+ 'openrc-systemdcompat')
+replaces=('openrc-systemdcompat')
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')
+ source=("$_repo/core/os/i686/libsystemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz"
+ "$_repo/libre/os/i686/systemd-$pkgver-${_spkgrel}.parabola1-i686.pkg.tar.xz")
+ sha256sums=('ee98131ccaea76f1087bef8528ad76eb299b92fbf6d84fb3718e83303f923fce'
+ '62e0040e65c9ab0b67a6eb9dd950a151ac8ce8fcefafa0131862b142ebdc2288')
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')
+ source=("$_repo/core/os/x86_64/libsystemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz"
+ "$_repo/libre/os/x86_64/systemd-$pkgver-${_spkgrel}.parabola1-x86_64.pkg.tar.xz")
+ sha256sums=('5d2f6b19c5c566143a9bf4d1c72b150fff853291544435e4a649cfcf282711aa'
+ '08d3162cff98fe441c4e17d099b02be5e8431b8c239c89d8b1d588243f209345')
+elif [ "$CARCH" = "armv7h" ]; then
+ source=("$_repo/core/os/armv7h/libsystemd-$pkgver-${_spkgrel}-armv7h.pkg.tar.xz"
+ "$_repo/libre/os/armv7h/systemd-$pkgver-${_spkgrel}.parabola1-armv7h.pkg.tar.xz")
+ sha256sums=('6b03c089a1cfdd465944481b21cbd76c472e8b75de31b41fb2efd95daded5912'
+ 'f4c3a99c73b16a2c181f59fdd793823fc74c7e1c7ea997ebe4715f242cbca18e')
fi
prepare() {
- rm usr/lib/lib{g,}udev*.so*
+ #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"
+ mv "$srcdir/usr/" "$pkgdir"
}