diff options
author | JunYoung Gwak | 2019-07-29 14:54:51 -0700 |
---|---|---|
committer | JunYoung Gwak | 2019-07-29 14:54:51 -0700 |
commit | 6b548fa81d4068337490414c473d521a1d1bea09 (patch) | |
tree | 8ba5a171d8b1e8d3708ba01ef2cfea5d4c72697a /PKGBUILD | |
download | aur-6b548fa81d4068337490414c473d521a1d1bea09.tar.gz |
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f32b9f21fd6c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: JunYoung Gwak <i@jgwak.com> + +_pkgname=namespaced-openvpn +pkgname=${_pkgname}-git +pkgver=r32.5ef019d +pkgrel=1 +pkgdesc='Wrapper for OpenVPN on Linux solving various privacy issues' +arch=('any') +license=('MIT') +url="https://github.com/slingamn/namespaced-openvpn" +makedepends=(git) +depends=(python) +source=("git+$url.git") +sha256sums=('SKIP') + +pkgver() { + cd ${_pkgname} + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + mkdir -p "$pkgdir/usr/bin/" + install -D -m 755 "$srcdir/$_pkgname/$_pkgname" "$pkgdir/usr/bin/" +} |