diff options
author | root <root@rshg054.dnsready.net> | 2013-01-25 00:06:28 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-25 00:06:28 -0800 |
commit | ef71629a65f6e8052d66775f07b079bf08322476 (patch) | |
tree | edd2ad98fa5697fc7a95e3eed0a8902656e55fde /community/arptables/PKGBUILD | |
parent | 570e3637e2a4ba372dabbbbb8953d7b4ccdcaa39 (diff) |
Fri Jan 25 00:06:28 PST 2013
Diffstat (limited to 'community/arptables/PKGBUILD')
-rw-r--r-- | community/arptables/PKGBUILD | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/community/arptables/PKGBUILD b/community/arptables/PKGBUILD index 40eba2685..c87d046bd 100644 --- a/community/arptables/PKGBUILD +++ b/community/arptables/PKGBUILD @@ -1,26 +1,22 @@ -# $Id: PKGBUILD 71317 2012-05-26 14:59:39Z seblu $ +# $Id: PKGBUILD 82774 2013-01-24 11:14:44Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Daniel Micay <danielmicay@gmail.com> # Contributor: Michal Soltys <soltys@ziu.info> pkgname=arptables -pkgver=0.0.3_4 -pkgrel=3 +pkgver=0.0.4 +pkgrel=1 pkgdesc='ARP filtering utility' arch=('i686' 'x86_64') url='http://ebtables.sourceforge.net/' +depends=('glibc' 'perl' 'bash') license=('GPL') -backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname") -install=$pkgname.install +backup=("etc/$pkgname.conf") source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz" - "$pkgname.conf" - "$pkgname.rc" "$pkgname.systemd" "$pkgname.service") -md5sums=('1d4ab05761f063b0751645d8f2b8f8e5' - '00bfb5bd8a83a5b466c650ee5d8f86f3' - '60e0319b55b1ef9e13d9ac03dd98c8d4' - '65a9ed0b866f727184a87e4d480975bd' +md5sums=('c2e99c3aa9d78c9dfa30710ca3168182' + 'e54342a833c52b2bc67e7985e8f8fdfd' 'b26771191e52905d8aea6333c26cb1c3') build() { @@ -39,16 +35,15 @@ package() { INITDIR=/etc/rc.d \ SYSCONFIGDIR=/etc popd - # install initscripts - install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname" - install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname" - # install systemd service + # systemd install -Dm 755 $pkgname.systemd \ "$pkgdir/usr/lib/systemd/scripts/$pkgname" install -Dm 644 $pkgname.service \ "$pkgdir/usr/lib/systemd/system/$pkgname.service" # default config file install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf" + # remove upstream rc + rm -rf "$pkgdir/etc/rc.d" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: |