1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
2 # Contributor: Michal Soltys <soltys@ziu.info>
7 pkgdesc='Ethernet bridge filtering utilities'
9 backup=('etc/conf.d/ebtables')
10 url='http://ebtables.sourceforge.net/'
13 "http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz"
17 md5sums=('c5ae7fb75810fd936a5445239e853fd8'
18 '368825c83a2b1180d2223e61b9f3bd07'
19 '86fc3622e6fc0a7a7920c90ff576cc38')
22 cd ${pkgname}-v${pkgver/_/-}
24 CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable' \
29 cd "${pkgname}-v${pkgver/_/-}"
33 MANDIR=/usr/share/man \
36 SYSCONFIGDIR=/etc/ebtables
38 # rm package ebtables rc.d scripts
39 rm "${pkgdir}/etc/rc.d/ebtables"
40 rm "${pkgdir}/etc/ebtables/ebtables-config"
42 # install custom ebtables rc.d scripts
43 install -D -m 0755 "${srcdir}/ebtables.rc" "${pkgdir}/etc/rc.d/ebtables"
44 install -D -m 0644 "${srcdir}/ebtables.conf" "${pkgdir}/etc/conf.d/ebtables"
47 # vim:set ts=2 sw=2 ft=sh et: