summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-01 16:08:41 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-01 16:08:41 -0300
commite43b9a6217e5978e846aa4dbeafcd0a749db987f (patch)
tree578ddbea5bbfdafe0c1bee61a567fcba3b2520c6 /pcr
parent44ff0d00216712a835e9fb6f2624661cb919676a (diff)
heartbeat: updating pkg
Diffstat (limited to 'pcr')
-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