[arch-commits] Commit in keepalived/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Mon Jun 10 20:42:20 UTC 2019
Date: Monday, June 10, 2019 @ 20:42:20
Author: seblu
Revision: 479792
archrelease: copy trunk to testing-x86_64
Added:
keepalived/repos/testing-x86_64/
keepalived/repos/testing-x86_64/PKGBUILD
(from rev 479791, keepalived/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: keepalived/repos/testing-x86_64/PKGBUILD (from rev 479791, keepalived/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-06-10 20:42:20 UTC (rev 479792)
@@ -0,0 +1,44 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
+
+pkgname=keepalived
+pkgver=2.0.16
+pkgrel=2
+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')
+makedepends=('ipset')
+depends=('glibc' 'libnl' 'openssl' 'file' 'iptables')
+optdepends=('ipset: ipset support')
+makedepends=('libnfnetlink' 'ipset' 'systemd')
+options=('!emptydirs')
+source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz")
+md5sums=('03f202eace2ad392c61ced15bb710e24')
+
+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