summaryrefslogtreecommitdiff
path: root/community/keepalived/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/keepalived/PKGBUILD')
-rw-r--r--community/keepalived/PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/community/keepalived/PKGBUILD b/community/keepalived/PKGBUILD
index 880e6aaf6..54c750779 100644
--- a/community/keepalived/PKGBUILD
+++ b/community/keepalived/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 83710 2013-02-04 14:57:08Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
+# $Id: PKGBUILD 90520 2013-05-12 23:55:17Z seblu $
+# Maintainer: Sébastien Luttringer
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=keepalived
pkgver=1.2.7
-pkgrel=2
+pkgrel=3
pkgdesc='Failover and monitoring daemon for LVS clusters'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.keepalived.org/'
@@ -14,11 +14,11 @@ depends=('openssl' 'popt' 'libnl1')
source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz"
'keepalived.service')
md5sums=('8551a34ee048895dbe5350a031ff29c1'
- 'edbeda8c8777cf36110c1623e49bc5c9')
+ '0a5171f4298528315e8a8004b55befb7')
build() {
cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
make
}
@@ -31,10 +31,8 @@ package() {
install -d -m 755 "$pkgdir/usr/share/$pkgname"
mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
# systemd
- cd "$srcdir"
- install -D -m 644 $pkgname.service \
+ install -D -m 644 "$srcdir/$pkgname.service" \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
}
# vim:set ts=2 sw=2 et: