blob: a197c249c7ebaa4b43c006aa4f1891a31621b70d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Christopher Price <pricechrispy at gmail dot com>
pkgname=foomuuri
pkgver=0.27
pkgrel=1
pkgdesc="Multizone bidirectional nftables firewall"
arch=('x86_64')
url="https://github.com/FoobarOy/foomuuri"
license=('GPL-2.0-or-later')
depends=('python' 'dbus-python' 'python-systemd' 'python-gobject' 'python-requests')
makedepends=('make' 'flake8' 'python-pylint')
source=("$pkgname-$pkgver.tar.gz::https://github.com/FoobarOy/foomuuri/archive/v$pkgver.tar.gz")
sha256sums=('2b8e84031e9dd5876f48ae06b4b8c0bb739292e7d5c29f46c1ea90bfa84db87c')
options=()
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's|/usr/sbin|/usr/bin|' Makefile
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="${pkgdir}"
install -m 644 -Dt "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/$pkgname-$pkgver/COPYING"
}
|