# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=ufw-extras
pkgver=0.7.0
pkgrel=0
pkgdesc="Extra configuration files for uncomplicated firewall (ufw)."
url="https://github.com/xyproto/ufw-extras"
arch="noarch"
license="GPL-2.0-or-later"
options="!check" # No test suite
depends="ufw"
source="$pkgname-$pkgver.tar.gz::https://github.com/xyproto/ufw-extras/archive/$pkgver.tar.gz"

package() {
	local file;
	for file in "ufw-"*; do
		install -Dm644 "$file" "$pkgdir/etc/ufw/applications.d/$file"
	done
}

sha512sums="
9fcd0d7b97ff92391b485d0a5e2248cd810d262ef6a1947a9c9bb961a0c9e5713ecd24ac6482be10e9a01d4142d3f2e58e50cd0cfb653bb079abfcd92b1345e8  ufw-extras-0.7.0.tar.gz
"
