summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-01-15 01:33:42 -0700
committerLuke T. Shumaker <lukeshu@parabola.nu>2024-02-05 12:47:26 -0700
commite855a425d421d459f5d8dbbbf29114c9cff839db (patch)
treeff37b7f618abbca4ad0687a97bfd3c2c0eb2e176 /libre
parente61e4ec2bacde130972552038714efb737041ce0 (diff)
libre/systemd: trim "systemd-" from systemd-sysvcompat's $srcdir/dest/ directory
Like all the other packages.
Diffstat (limited to 'libre')
-rw-r--r--libre/systemd/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD
index a4a13e2c8..f98f7dff2 100644
--- a/libre/systemd/PKGBUILD
+++ b/libre/systemd/PKGBUILD
@@ -310,11 +310,11 @@ build() {
done
# Pull out `systemd-sysvcompat`.
- install -dm755 "$srcdir/dest/systemd-sysvcompat"/usr/share/man/man{1,8}
+ install -dm755 "$srcdir/dest/sysvcompat"/usr/share/man/man{1,8}
mv "$srcdir/dest/systemd"/usr/share/man/man1/init.1 \
- -t "$srcdir/dest/systemd-sysvcompat"/usr/share/man/man1
+ -t "$srcdir/dest/sysvcompat"/usr/share/man/man1
mv "$srcdir/dest/systemd"/usr/share/man/man8/{halt,poweroff,reboot,shutdown}.8 \
- -t "$srcdir/dest/systemd-sysvcompat"/usr/share/man/man8
+ -t "$srcdir/dest/sysvcompat"/usr/share/man/man8
# Tidy up the main `systemd` package.
rmdir "$srcdir/dest"/systemd/usr/{share/man/man3,lib/pkgconfig,include}
@@ -561,7 +561,7 @@ package_systemd-sysvcompat() {
provides=('init')
conflicts+=('init')
- cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/$pkgname" "$pkgdir"
+ cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/${pkgname#systemd-}" "$pkgdir"
install -d -m0755 "$pkgdir"/usr/bin
ln -s ../lib/systemd/systemd "$pkgdir"/usr/bin/init