void-packages/srcpkgs/ufw/template

28 lines
702 B
Bash

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