updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / ipset-init / PKGBUILD
blob3c9ea705f6a1734ed179f00c1204d3eceabb19b2
1 # Contributor: David Couzelis <drcouzelis@gmail.com>
3 pkgname=ipset-init
4 pkgver=1
5 pkgrel=1
6 pkgdesc='A script to assist with loading the ipset administration tool for IP sets'
7 arch=('i686' 'x86_64')
8 license=('GPL2')
9 url='http://ipset.netfilter.org'
10 depends=('ipset')
11 source=(ipset
12         ipset.rules
13         ipset.conf.d)
14 backup=(etc/conf.d/ipset)
15 md5sums=('79ca412fda09c1767c581be4500e7221'
16          '9e331ddb448714840999f5985aa3b24f'
17          '291c799b78558cc3cc5a37a145dd0c74')
19 package() {
20   cd "${srcdir}"
21   install -D -m755 ipset "${pkgdir}"/etc/rc.d/ipset
22   install -D -m644 ipset.rules "${pkgdir}"/etc/ipset/ipset.rules
23   install -D -m644 ipset.conf.d "${pkgdir}"/etc/conf.d/ipset