void-packages/srcpkgs/ufw/template

27 lines
741 B
Bash

# Template file for 'ufw'
pkgname=ufw
version=0.36.2
revision=1
_major_minor="${version%.*}"
build_style=python3-module
conf_files="
/etc/ufw/*.conf
/etc/ufw/*.rules
/etc/ufw/applications.d/*"
hostmakedepends="python3-wheel 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=2a57a99eecef6b44db3537ed2520b30bae3759f8465456e22e404cd643838bf5
# tests fail with void build paths as well as vague errors on finding profiles
make_check=no
post_install() {
vsv ufw
vcompletion ./shell-completion/bash bash
}