From 299e917c17619f800f0c21cf43209065b608223f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Feb 2012 23:15:21 +0000 Subject: Fri Feb 24 23:15:21 UTC 2012 --- community/keepalived/PKGBUILD | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'community/keepalived') diff --git a/community/keepalived/PKGBUILD b/community/keepalived/PKGBUILD index 79361ec90..ad7fa29f4 100644 --- a/community/keepalived/PKGBUILD +++ b/community/keepalived/PKGBUILD @@ -1,16 +1,16 @@ # $Id$ -# Maintainer: Sebastien Luttringer # Contributor: Andrea Zucchelli pkgname=keepalived pkgver=1.2.2 -pkgrel=1 -pkgdesc='implements an independent VRRPv2 stack and a userspace daemon for LVS cluster nodes healthchecks and LVS directors failover' +pkgrel=3 +pkgdesc='Failover and monitoring daemon for LVS clusters' arch=('i686' 'x86_64') url='http://www.keepalived.org/' license=('GPL2') backup=('etc/keepalived/keepalived.conf' 'etc/conf.d/keepalived') -depends=('openssl' 'popt' 'libnl') +depends=('openssl' 'popt' 'libnl1') source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz" 'keepalived.rc' 'keepalived.conf' @@ -28,10 +28,6 @@ build() { } package() { - # add initscripts - install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname" - install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname" - cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # clean pacakge init scripts @@ -39,6 +35,11 @@ package() { # move examples to /usr/share install -d -m 755 "$pkgdir/usr/share/$pkgname" mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples" + + # add initscripts + install -D -m 755 ../$pkgname.rc "${pkgdir}/etc/rc.d/$pkgname" + install -D -m 644 ../$pkgname.conf "${pkgdir}/etc/conf.d/$pkgname" + } # vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3-54-g00ecf