summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunYoung Gwak2019-07-29 14:54:51 -0700
committerJunYoung Gwak2019-07-29 14:54:51 -0700
commit6b548fa81d4068337490414c473d521a1d1bea09 (patch)
tree8ba5a171d8b1e8d3708ba01ef2cfea5d4c72697a
downloadaur-6b548fa81d4068337490414c473d521a1d1bea09.tar.gz
Initial commit.
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD24
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7d99a66ec05
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = namespaced-openvpn-git
+ pkgdesc = Wrapper for OpenVPN on Linux solving various privacy issues
+ pkgver = r32.5ef019d
+ pkgrel = 1
+ url = https://github.com/slingamn/namespaced-openvpn
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = python
+ source = git+https://github.com/slingamn/namespaced-openvpn.git
+ sha256sums = SKIP
+
+pkgname = namespaced-openvpn-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f71c635dafd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f32b9f21fd6
--- /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/"
+}