summaryrefslogtreecommitdiff
path: root/community/ucarp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-19 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-04-19 00:01:30 +0000
commitfe675be3a5f22b4397ea55959bb3c47b4c1b8288 (patch)
tree2d8d385678576c75dc561c6fc2c194df7aad2b9b /community/ucarp/PKGBUILD
parent637c1cfdcd258a870ad5367cbf47a8a2799039c7 (diff)
Thu Apr 19 00:01:30 UTC 2012
Diffstat (limited to 'community/ucarp/PKGBUILD')
-rw-r--r--community/ucarp/PKGBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/community/ucarp/PKGBUILD b/community/ucarp/PKGBUILD
index 9b2d22f94..90158ebc1 100644
--- a/community/ucarp/PKGBUILD
+++ b/community/ucarp/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id$
+# $Id: PKGBUILD 69498 2012-04-17 12:05:31Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=ucarp
pkgver=1.5.2
-pkgrel=2
+pkgrel=3
pkgdesc='UCARP is a portable implementation of the CARP protocol'
arch=('i686' 'x86_64')
url='http://www.ucarp.org/project/ucarp'
license=('GPL2')
depends=('libpcap')
optdepends=('iproute2')
+backup=('etc/conf.d/ucarp')
source=("http://download.pureftpd.org/pub/ucarp/ucarp-$pkgver.tar.gz"
'ucarp.rc'
'ucarp.conf'
+ 'ucarp.service'
'ucarp.8'
'01-fix-getopt.patch'
'02-fix-downscript-on-error.c')
md5sums=('e3caa733316a32c09e5d3817617e9145'
- 'd941d2978c5b43154a29212115729519'
- '9b27f0cf552511716b1ce3678b7a77ca'
+ '11675170473c7e11131d90c3d64ff333'
+ '79c01b9ba580d2431997efb9df59cf5d'
+ '582d59cd969b6447a710f58bbaf28846'
'05b64a5daeb7aab45a2a59e0f4d83c8f'
'3f20699aaf2ef8139dcd337f1e7f06ab'
'09d26233c37956cf08e629554a91b8cd')
@@ -37,13 +40,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"
-
- # add manpage
- install -D -m 644 $pkgname.8 "${pkgdir}/usr/share/man/man8/$pkgname.8"
-
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
@@ -55,6 +51,17 @@ package() {
# install README
install -D -m 644 README "$pkgdir/usr/share/doc/$pkgname/README"
+
+ # add initscripts
+ cd ..
+ install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname"
+ install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname"
+ install -D -m 644 $pkgname.service \
+ "${pkgdir}/usr/lib/systemd/system/$pkgname.service"
+
+ # add manpage
+ install -D -m 644 $pkgname.8 "${pkgdir}/usr/share/man/man8/$pkgname.8"
+
}
# vim:set ts=2 sw=2 ft=sh et: