diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-08-29 16:32:15 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-08-29 16:32:15 -0500 |
commit | ecadd5dfe14a40689dacec3d201fb7fc38060754 (patch) | |
tree | 93378eb4ff4835950fc4cd7dc3fb57c66befaa88 /pcr/eudev-systemdcompat | |
parent | 8ac589c92e8d69a2b796a3d9d74d739e334b4bae (diff) | |
download | abslibre-ecadd5dfe14a40689dacec3d201fb7fc38060754.tar.gz abslibre-ecadd5dfe14a40689dacec3d201fb7fc38060754.tar.bz2 abslibre-ecadd5dfe14a40689dacec3d201fb7fc38060754.zip |
eudev-systemdcompat-231-7.parabola1: rebuild
Diffstat (limited to 'pcr/eudev-systemdcompat')
-rw-r--r-- | pcr/eudev-systemdcompat/PKGBUILD | 34 |
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 } |