# Maintainer: Adrien Gallouët pkgname=glorytun pkgver=0.0.93_mud pkgrel=1 pkgdesc="A small, simple and secure VPN" arch=(x86_64) url="https://github.com/angt/glorytun" license=('BSD') depends=('libsodium' 'iproute2') 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 }