diff options
author | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
commit | 299e917c17619f800f0c21cf43209065b608223f (patch) | |
tree | e175a7bbdb5d933670f10b09f1cc52ece45ced87 /community/keepalived | |
parent | d466ef49f224a9347fe0375eac8126725e10a0a4 (diff) |
Fri Feb 24 23:15:21 UTC 2012
Diffstat (limited to 'community/keepalived')
-rw-r--r-- | community/keepalived/PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
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 <seblu+arch@seblu.net +# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Andrea Zucchelli <zukka77@gmail.com> 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: |