summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Gallouët2019-07-19 17:54:33 +0200
committerAdrien Gallouët2019-07-19 17:55:55 +0200
commit2372cbb36a61768586f285df3c68ec1fc5491600 (patch)
treedb72baf3b099ce6005f6181edaea73415bb0b3fc
parentc4544c5eb976641d97f7239d78192af4155d956d (diff)
downloadaur-2372cbb36a61768586f285df3c68ec1fc5491600.tar.gz
Update to 0.1.3
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 16 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c22e0a950a9..feae14f4484 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = glorytun
pkgdesc = A small, simple and secure VPN
- pkgver = 0.1.2
+ pkgver = 0.1.3
pkgrel = 1
url = https://github.com/angt/glorytun
arch = x86_64
license = BSD
makedepends = libsodium
+ makedepends = pkg-config
depends = libsodium
depends = iproute2
- source = https://github.com/angt/glorytun/archive/v0.1.2.tar.gz
- md5sums = b2554215f50d0097131b0054050aa534
+ source = https://github.com/angt/glorytun/releases/download/v0.1.3/glorytun-0.1.3.tar.gz
+ md5sums = 85159d09123fcde49dfccf98e12a7093
pkgname = glorytun
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
}