ebtables: do not use _version var (confuses xbps-checkvers).

This commit is contained in:
Juan RP 2016-04-20 09:57:30 +02:00
parent 40d54fdf86
commit cce4b31242

View file

@ -1,8 +1,8 @@
# Template file for 'ebtables'
pkgname=ebtables
version=2.0.10.4
revision=5
_version=${version%.*}-${version##*.}
revision=6
_distver=${version%.*}-${version##*.}
build_style=gnu-makefile
conf_files="/etc/ebtables.conf"
short_desc="Filtering tool for a Linux-based bridging firewall"
@ -10,9 +10,9 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://ebtables.netfilter.org/"
depends="perl iptables"
distfiles="http://ftp.netfilter.org/pub/ebtables/${pkgname}-v${_version}.tar.gz"
distfiles="http://ftp.netfilter.org/pub/ebtables/${pkgname}-v${_distver}.tar.gz"
checksum=dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d
wrksrc=${pkgname}-v${_version}
wrksrc=${pkgname}-v${_distver}
make_install_args="
MANDIR=/usr/share/man \
BINDIR=/usr/bin \