summaryrefslogtreecommitdiff
path: root/pcr/eudev-systemdcompat
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/eudev-systemdcompat')
-rw-r--r--pcr/eudev-systemdcompat/PKGBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/pcr/eudev-systemdcompat/PKGBUILD b/pcr/eudev-systemdcompat/PKGBUILD
index 7b36491fc..9df92aa4c 100644
--- a/pcr/eudev-systemdcompat/PKGBUILD
+++ b/pcr/eudev-systemdcompat/PKGBUILD
@@ -10,7 +10,7 @@ _repo=https://repo.parabola.nu
pkgbase=eudev-systemdcompat
pkgname=('eudev-systemd' 'libeudev-systemd')
pkgver=231
-pkgrel=4.parabola1
+pkgrel=7.parabola1
arch=('i686' 'x86_64' 'armv7h')
license=('GPL2')
url="http://www.freedesktop.org/wiki/Software/systemd"
@@ -27,30 +27,20 @@ sha256sums_x86_64=('82598da0bb538479b4529b7a0b799cc08785217e80643279724def5f6393
sha256sums_armv7h=('e7d84b08bb781aa2aa2fb8fbc76371ec23c1df6e09adb5238a2500dba29c77e1'
'bc73584201bfaec1ca0cfdbb8945798a28dd24cfa7a36368e29b3ee89c8df81c')
-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_eudev-systemd() {
pkgdesc="systemd-sysuser and systemd-tmpfiles binary; systemd compatibility package"
provides=("systemd=${pkgver}" "systemd-tools=${pkgver}")
- depends=('eudev')
+ depends=('eudev' 'libseccomp')
conflicts=('systemd-tools' 'systemd' 'eudev-systemdcompat')
replaces=('eudev-systemdcompat')
- install -d $pkgdir/usr/bin
- mv -v $srcdir/usr/bin/* "$pkgdir/usr/bin"
+ install -d "$pkgdir"/usr/{bin,lib/systemd}
+ for f in usr/bin/{systemd-tmpfiles,systemd-sysusers};do
+ mv -v $f "$pkgdir"/usr/bin
+ done
+ for f in usr/lib/systemd/libsystemd-shared*.so*;do
+ mv -v $f $pkgdir/usr/lib/systemd
+ done
}
package_libeudev-systemd() {
@@ -60,6 +50,8 @@ package_libeudev-systemd() {
conflicts=('libsystemd' 'eudev-systemdcompat')
replaces=('eudev-systemdcompat')
- install -d $pkgdir/usr/lib
- mv -v $srcdir/usr/lib/* "$pkgdir/usr/lib"
+ install -d $pkgdir/usr/lib/systemd/boot/efi
+ for f in usr/lib/libsystemd*.so*;do
+ mv -v $f $pkgdir/usr/lib
+ done
}