summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+}