summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6825d731f52a1179314f5af13be67fafa715c837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Maintainer: phire <me@phire.cc>
pkgname=wgnord
pkgver=0.1.7
pkgrel=2
pkgdesc="A NordVPN Wireguard (\"NordLynx\") client in POSIX shell"
arch=('any')
url="https://git.phire.cc/me/wgnord"
depends=('jq' 'curl' 'wireguard-tools')
source=("https://git.phire.cc/me/$pkgname/archive/$pkgver.tar.gz")
md5sums=("cb4355a887b2371f9ad2a4ed142c5a17")

package() {
	install -Dm644 "$srcdir/$pkgname/template.conf" "$pkgdir/var/lib/$pkgname/template.conf"
	install -Dm644 "$srcdir/$pkgname/countries.txt" "$pkgdir/var/lib/$pkgname/countries.txt"
	install -Dm755 "$srcdir/$pkgname/wgnord" "$pkgdir/usr/bin/wgnord"
}