void-packages/srcpkgs/ufw/template
2021-10-09 08:01:05 -04:00

27 lines
704 B
Bash

# Template file for 'ufw'
pkgname=ufw
version=0.36.1
revision=2
_major_minor="${version%.*}"
build_style=python3-module
conf_files="
/etc/ufw/*.conf
/etc/ufw/*.rules
/etc/ufw/applications.d/*"
hostmakedepends="python3-setuptools iptables"
depends="iptables python3"
short_desc="Uncomplicated Firewall"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://launchpad.net/ufw"
distfiles="https://launchpad.net/ufw/${_major_minor}/${version}/+download/ufw-${version}.tar.gz"
checksum=1c57e78fbf2970f0cc9c56ea87a231e6d83d825e55b9e31e2c88b91b0ea03c8c
pre_configure() {
sed -i -e 's|/lib|/usr/lib|' setup.py
sed -i -e 's|sbin|bin|' setup.py
}
post_install() {
vsv ufw
}