diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6d95060869f5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Adam Hose <adis@blad.is> + +pkgbase=opensnitch-git +pkgname=(opensnitch-git) +pkgver=r90.b594e90 +pkgrel=1 +pkgdesc="OpenSnitch is a GNU/Linux port of the Little Snitch application firewall." +arch=(any) +url=https://github.com/evilsocket/${pkgname%-git} +license=(GPL3) +depends=(python2 python2-pyqt5 python2-netfilterqueue-git libnetfilter_queue scapy) +makedepends=(git python2-setuptools) +provides=(${pkgname%-git}) +conflicts=(${pkgname%-git}) +source=($pkgname::git+https://github.com/evilsocket/${pkgname%-git}.git) +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD) +} + +build() { + cd $pkgname + python2 setup.py build +} + +package() { + cd $pkgname + python2 setup.py install --root="$pkgdir" --optimize=1 +} |