summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-29 14:39:13 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-29 14:45:21 -0300
commitccd00bbb37083185558a62460b6465c0585e7e2c (patch)
tree7fa24cee8f3a3d6ac0b9956a66d66c4eea5cd5d5 /libre
parentde538b997a8c2055e68bc3610f0ddaa1c44706b9 (diff)
downloadabslibre-ccd00bbb37083185558a62460b6465c0585e7e2c.tar.gz
abslibre-ccd00bbb37083185558a62460b6465c0585e7e2c.tar.bz2
abslibre-ccd00bbb37083185558a62460b6465c0585e7e2c.zip
systemd-226-3.parabola1: avoid mv'ing things in package functions
* as a side effect, nss libs are moved to libsystemd * drop libnss* from systemd package
Diffstat (limited to 'libre')
-rw-r--r--libre/systemd/PKGBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD
index 9f808e2c1..54e8eeeff 100644
--- a/libre/systemd/PKGBUILD
+++ b/libre/systemd/PKGBUILD
@@ -5,7 +5,7 @@
pkgbase=systemd
pkgname=systemd
pkgver=226
-pkgrel=1.parabola1
+pkgrel=3.parabola1
arch=('i686' 'x86_64' 'armv7h')
url="http://www.freedesktop.org/wiki/Software/systemd"
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam'
@@ -144,17 +144,11 @@ package_systemd() {
# ship default policy to leave services disabled
echo 'disable *' >"$pkgdir"/usr/lib/systemd/system-preset/99-default.preset
- ### split out manpages for sysvcompat
- rm -rf "$srcdir/_sysvcompat"
- install -dm755 "$srcdir"/_sysvcompat/usr/share/man/man8/
- mv "$pkgdir"/usr/share/man/man8/{telinit,halt,reboot,poweroff,runlevel,shutdown}.8 \
- "$srcdir"/_sysvcompat/usr/share/man/man8
-
- ### split off runtime libraries
- rm -rf "$srcdir/_libsystemd"
- install -dm755 "$srcdir"/_libsystemd/usr/lib
- cd "$srcdir"/_libsystemd
- mv "$pkgdir"/usr/lib/lib{systemd,udev}*.so* usr/lib
+ ### manpages shipped with systemd-sysvcompat
+ rm "$pkgdir"/usr/share/man/man8/{telinit,halt,reboot,poweroff,runlevel,shutdown}.8
+
+ ### runtime libraries shipped with libsystemd
+ rm "$pkgdir"/usr/lib/lib{nss,systemd,udev}*.so*
# add example bootctl configuration
install -Dm644 "$srcdir/parabola.conf" "$pkgdir"/usr/share/systemd/bootctl/parabola.conf