blob: 4f7c415dae41caecd5a0763817817283c1cedbb3 (
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
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: h8ray <gofindme at dmc dot chat>
pkgname=amneziawg-tools-git
_pkgname=amneziawg-tools
pkgver=r515.5c6ffd6
pkgrel=1
pkgdesc="AmneziaWG is a contemporary version of the popular VPN protocol, WireGuard"
arch=("x86_64")
url="https://github.com/amnezia-vpn/amneziawg-tools"
license=('GPL-2.0')
makedepends=('git')
optdepends=('resolvconf: if you are controlling DNS via AmneziaWG')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/amnezia-vpn/amneziawg-tools.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}/src"
make
}
package() {
cd "${srcdir}/${_pkgname}/src"
make DESTDIR="${pkgdir}/" install
}
|