void-packages/srcpkgs/gufw/template

20 lines
636 B
Bash

# Template file for 'gufw'
pkgname=gufw
version=22.04
revision=2
build_style=python3-module
hostmakedepends="python3-distutils-extra intltool"
depends="python3-gobject net-tools ufw gtk+3 webkit2gtk"
short_desc="GTK+ frontend for ufw"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gufw.org/"
distfiles="https://github.com/costales/gufw/archive/refs/tags/$version.tar.gz"
checksum=da597f1e3ac64eb9ced3ccc951f228d8e304a6c99ddcb525a9b43ad9a19fa06c
pre_configure() {
vsed -i -e \
"s|/usr/share/gufw/gufw/gufw.py|/usr/lib/python${py3_ver}/site-packages/gufw/gufw.py|" \
bin/gufw-pkexec
}