diff options
author | Test User | 2020-03-04 10:26:40 -0700 |
---|---|---|
committer | Test User | 2020-03-04 10:26:40 -0700 |
commit | cd30149ec036431a3b57f497ab9f4aa47e284c28 (patch) | |
tree | a13c395263428c2f3fde4f4da78d6afd85131eb3 /PKGBUILD | |
parent | 853ad2db491080d8641c95ee5fcc65619916b405 (diff) | |
download | aur-cd30149ec036431a3b57f497ab9f4aa47e284c28.tar.gz |
use git tags, add install file
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Maintainer: lsf -# Contributor: Mark Wagie <mark.wagie@tutanota.com> +# Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> # Contributor: Adam Hose <adis@blad.is> pkgname=opensnitch-git -pkgver=r514.db22e83 +pkgver=1.0.0.rc5.r16.db22e83 pkgrel=1 pkgdesc="A GNU/Linux port of the Little Snitch application firewall." arch=('i686' 'x86_64') @@ -15,12 +15,13 @@ depends=('libnetfilter_queue' 'libpcap' 'python-protobuf-compiler' 'python-libconfigparser') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") +install="${pkgname%-git}.install" source=('git+https://github.com/gustavo-iniguez-goya/opensnitch.git') sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g' } prepare() { |