summaryrefslogtreecommitdiff
path: root/pcr/systemd-knock
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-23 06:53:28 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-23 07:42:06 -0300
commit726c712c1b701cd69958a9da78501747f130fd22 (patch)
tree83af77bdc832bb3692fbfa3b6c65965d714fa65a /pcr/systemd-knock
parent5e405f83b06c4682da36d87d8bd1e3446a6b9d05 (diff)
systemd-knock-230-4.1: fix packaging in systemd split package
Diffstat (limited to 'pcr/systemd-knock')
-rw-r--r--pcr/systemd-knock/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/pcr/systemd-knock/PKGBUILD b/pcr/systemd-knock/PKGBUILD
index 8327810a4..aab7bfb29 100644
--- a/pcr/systemd-knock/PKGBUILD
+++ b/pcr/systemd-knock/PKGBUILD
@@ -9,7 +9,7 @@ pkgbase=systemd-knock
pkgname=('systemd-knock' 'libsystemd-knock' 'systemd-knock-sysvcompat'
'libsystemd-knock-standalone' 'libudev-knock' 'nss-knock-myhostname' 'nss-knock-mymachines' 'nss-knock-resolve')
pkgver=230
-pkgrel=4
+pkgrel=4.1
arch=('i686' 'x86_64' 'armv7h')
url="http://www.freedesktop.org/wiki/Software/systemd"
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
@@ -270,7 +270,7 @@ package_libudev-knock() {
provides=('libudev.so' "libudev=$pkgver")
conflicts=('libudev-knock')
- cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/$_pkgbase" "$pkgdir"
+ cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/${pkgname/-knock/}" "$pkgdir"
}
package_nss-knock-myhostname() {
@@ -280,7 +280,7 @@ package_nss-knock-myhostname() {
provides=("nss-myhostname=$pkgver")
conflicts=('nss-myhostname')
- cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/$_pkgbase" "$pkgdir"
+ cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/${pkgname/-knock/}" "$pkgdir"
}
package_nss-knock-mymachines() {
@@ -290,7 +290,7 @@ package_nss-knock-mymachines() {
provides=("nss-mymachines=$pkgver")
conflicts=('nss-mymachines')
- cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/$_pkgbase" "$pkgdir"
+ cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/${pkgname/-knock/}" "$pkgdir"
}
package_nss-knock-resolve() {
@@ -300,7 +300,7 @@ package_nss-knock-resolve() {
provides=("nss-resolve=$pkgver")
conflicts=('nss-resolve')
- cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/$_pkgbase" "$pkgdir"
+ cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/${pkgname/-knock/}" "$pkgdir"
}
package_systemd-knock-sysvcompat() {
@@ -310,7 +310,7 @@ package_systemd-knock-sysvcompat() {
conflicts=('sysvinit' 'systemd-sysvcompat')
depends=('systemd-knock')
- cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/$_pkgbase" "$pkgdir"
+ cp -rT -d --no-preserve=ownership,timestamp "$srcdir/dest/{pkgname/-knock/}" "$pkgdir"
install -dm755 "$pkgdir/usr/bin"
for tool in runlevel reboot shutdown poweroff halt telinit; do