blob: 6bc35601a2b08917754a57fc0567b4917d420beb (
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
28
29
30
31
32
33
34
35
36
|
# Maintainer: Christopher Price <pricechrispy at gmail dot com>
_pkgname=foomuuri
pkgname=foomuuri-git
pkgver=r197.4a64873
pkgrel=2
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' 'git')
conflicts=('foomuuri')
provides=('foomuuri')
source=("git+https://github.com/FoobarOy/foomuuri.git")
sha256sums=('SKIP')
options=()
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
sed -i 's|/usr/sbin/|/usr/bin/|' Makefile
make
}
package() {
cd "$srcdir/$_pkgname"
make install DESTDIR="${pkgdir}"
install -m 644 -Dt "$pkgdir/usr/share/licenses/$_pkgname" "$srcdir/$_pkgname/COPYING"
}
|