summaryrefslogtreecommitdiff
path: root/pcr/heartbeat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/heartbeat/PKGBUILD')
-rw-r--r--pcr/heartbeat/PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/pcr/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD
index cf2269d70..f9ee9254b 100644
--- a/pcr/heartbeat/PKGBUILD
+++ b/pcr/heartbeat/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=heartbeat
pkgver=3.0.5
_pkgver=${pkgver::1}_${pkgver:2:1}
-pkgrel=9
+pkgrel=10
pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)'
arch=(
i686
@@ -20,10 +20,7 @@ depends=(
gnutls
cluster-glue
)
-optdepends=(
- net-tools
- openssh
-)
+optdepends=net-tools
makedepends=(
docbook-xsl
libxslt
@@ -186,7 +183,8 @@ package() {
cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
setarch $CARCH make DESTDIR=$pkgdir install
- rm $pkgdir/etc/rc.d/$pkgname && rmdir $pkgdir/etc/rc.d
+ mv $pkgdir/{var/,}run
+ rm $pkgdir/etc/{ha.d/,}rc.d/* && rmdir $pkgdir/etc/{ha.d/,}rc.d
install -d $pkgdir/usr/lib/systemd/system
echo '[Unit]' > $pkgdir/usr/lib/systemd/system/$pkgname.service