summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Gallouët2017-11-29 16:26:16 +0000
committerAdrien Gallouët2017-11-29 16:27:10 +0000
commitb93a6b9a15c28fda82ca95a23a6d2c2d06ee15b1 (patch)
tree2a5353b7a655d70b208cee7ee65ffec804892138
downloadaur-b93a6b9a15c28fda82ca95a23a6d2c2d06ee15b1.tar.gz
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b32b8833434
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = glorytun
+ pkgdesc = A small, simple and secure VPN
+ pkgver = 0.0.92_mud
+ pkgrel = 1
+ url = https://github.com/angt/glorytun
+ arch = x86_64
+ license = BSD
+ makedepends = meson libsodium pkgconfig
+ depends = libsodium
+ source = https://github.com/angt/glorytun/releases/download/v0.0.92-mud/glorytun-0.0.92-mud.tar.gz
+ md5sums = adc94aea7b138cf9e33b0869b37c2e8a
+
+pkgname = glorytun
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0012afd53bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Adrien Gallouët <adrien@gallouet.fr>
+pkgname=glorytun
+pkgver=0.0.92_mud
+pkgrel=1
+pkgdesc="A small, simple and secure VPN"
+arch=(x86_64)
+url="https://github.com/angt/glorytun"
+license=('BSD')
+depends=('libsodium')
+makedepends=('meson libsodium pkgconfig')
+_pkgnamever=$pkgname-${pkgver//_/-}
+source=("$url/releases/download/v${pkgver//_/-}/$_pkgnamever.tar.gz")
+md5sums=('adc94aea7b138cf9e33b0869b37c2e8a')
+
+build() {
+ cd "$srcdir/$_pkgnamever"
+ meson build --prefix=/usr
+ ninja -C build
+}
+
+package() {
+ cd "$srcdir/$_pkgnamever"
+ DESTDIR="$pkgdir/" ninja -C build install
+}