summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6134b4757e4..28be420b273 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,23 @@
# Maintainer: Adrien Gallou√ęt <adrien@gallouet.fr>
pkgname=glorytun
-pkgver=0.1.2
+pkgver=0.1.3
pkgrel=1
pkgdesc="A small, simple and secure VPN"
-arch=(x86_64)
+arch=('x86_64')
url="https://github.com/angt/glorytun"
license=('BSD')
depends=('libsodium' 'iproute2')
-makedepends=('libsodium')
-source=("$url/archive/v$pkgver.tar.gz")
-md5sums=('b2554215f50d0097131b0054050aa534')
+makedepends=('libsodium' 'pkg-config')
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('85159d09123fcde49dfccf98e12a7093')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" prefix=/usr install
+ make DESTDIR="$pkgdir/" install-strip
}