summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan2019-07-26 09:17:25 +1200
committerEthan2019-07-26 09:17:25 +1200
commitbaed5bacb37e48e8c80bd7faf1e0da0cadf53fc8 (patch)
tree6ca0125f3f092181d227ab7697cf72f210f8b8ca
downloadaur-baed5bacb37e48e8c80bd7faf1e0da0cadf53fc8.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD26
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d0bd625aa43
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = dsvpn
+ pkgdesc = A Dead Simple VPN.
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/jedisct1/dsvpn
+ arch = any
+ license = MIT
+ makedepends = make
+ makedepends = gcc
+ provides = dsvpn-git
+ conflicts = dsvpn-git
+ source = https://github.com/jedisct1/dsvpn/archive/0.1.0.tar.gz
+ sha256sums = 97bf922c957827b01123796c7089ad4c8b84f0ef6ae4f600ace21fe07598b46f
+
+pkgname = dsvpn
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..40436d522dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Ethan Brittain-Morby <ebm539 at protonmail dot com>
+pkgname=dsvpn
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="A Dead Simple VPN."
+arch=('any')
+url="https://github.com/jedisct1/dsvpn"
+license=('MIT')
+depends=()
+makedepends=(make gcc)
+provides=(${pkgname}-git)
+conflicts=(${pkgname}-git)
+source=("https://github.com/jedisct1/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('97bf922c957827b01123796c7089ad4c8b84f0ef6ae4f600ace21fe07598b46f')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -dm 755 "${pkgdir}"/usr/bin/
+ install -m 755 dsvpn "${pkgdir}"/usr/bin/dsvpn
+}
+