[arch-commits] Commit in keepalived/repos (2 files)
Sébastien Luttringer
seblu at archlinux.org
Sun May 27 11:39:51 UTC 2018
Date: Sunday, May 27, 2018 @ 11:39:50
Author: seblu
Revision: 331517
archrelease: copy trunk to community-testing-x86_64
Added:
keepalived/repos/community-testing-x86_64/
keepalived/repos/community-testing-x86_64/PKGBUILD
(from rev 331516, keepalived/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: keepalived/repos/community-testing-x86_64/PKGBUILD (from rev 331516, keepalived/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-05-27 11:39:50 UTC (rev 331517)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
+
+pkgname=keepalived
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='Failover and monitoring daemon for LVS clusters'
+arch=('x86_64')
+url='http://www.keepalived.org/'
+license=('GPL2')
+backup=('etc/keepalived/keepalived.conf' 'etc/sysconfig/keepalived')
+depends=('openssl' 'popt' 'libnl1' 'ipset' 'iptables')
+optdepends=('ipset: ipset support')
+makedepends=('libnfnetlink' 'ipset' 'systemd')
+options=('!emptydirs')
+source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz")
+md5sums=('1a3f4e098ac18291586bd161d61ce7c7')
+
+build() {
+ # trick broken ./configure systemctl test
+ printf "#!/bin/sh\necho -.mount\n" > systemctl
+ chmod +x systemctl
+ PATH=$PWD:$PATH
+
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --runstatedir=/run
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # move examples to /usr/share
+ install -d -m 755 "$pkgdir/usr/share/$pkgname"
+ mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list