diff options
-rw-r--r-- | testing/keepalived/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/keepalived/APKBUILD b/testing/keepalived/APKBUILD index e5a082f2c0..45a287590c 100644 --- a/testing/keepalived/APKBUILD +++ b/testing/keepalived/APKBUILD @@ -1,7 +1,8 @@ # Contributor: Pablo Castorino <pcastorino@mendoza-conicet.gob.ar> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=keepalived pkgver=1.2.8 -pkgrel=0 +pkgrel=1 pkgdesc="Health Checking for Linux Virtual Server & High-Availability" url="http://www.keepalived.org/" arch="all" @@ -14,7 +15,6 @@ source="http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz $pkgname.initd $pkgname.confd " -# keepalived-1.1.20-ipvs_haeader_check.patch _builddir="$srcdir"/$pkgname-$pkgver @@ -44,10 +44,12 @@ build() { package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + + rm -r "$pkgdir"/etc/rc.d "$pkgdir"/etc/sysconfig } samples() { |