summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2276a572a3c7d6c2a77eff78230350c8a3150a44 (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
# Maintainer: Benjamin Asbach <archlinux-aur.${pkgname}@impl.it>

_pkgname='openvpn3-indicator'
pkgname="${_pkgname}-git"
pkgver=r53.a00ecaa
pkgrel=1
pkgdesc='Simple GTK indicator GUI for OpenVPN 3 Linux'

url='https://github.com/OpenVPN/openvpn3-indicator'
arch=('any')
license=('AGPL')
depends=('openvpn3' 'libayatana-appindicator' 'python-secretstorage' 'python-setproctitle')
makedepends=('git' 'zip')
source=("${_pkgname}::git+https://github.com/OpenVPN/${_pkgname}.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir"/"$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir"/"$_pkgname"
    make DESTDIR="$pkgdir" PREFIX="/usr" package
}