summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebc7e2d795282c18803bcac67061ee8fe2207fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Adrien Gallou√ęt <adrien@gallouet.fr>
pkgname=glorytun
pkgver=0.0.98_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=('6f032d212148fa81c13103f2b4042df6')

build() {
  cd "$srcdir/$_pkgnamever"
  meson build --prefix=/usr
  ninja -C build
}

package() {
  cd "$srcdir/$_pkgnamever"
  DESTDIR="$pkgdir/" ninja -C build install
}