1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: Jason A. Donenfeld <Jason@zx2c4.com>
4 pkgname=wireguard-tools
7 pkgdesc='next generation secure network tunnel - tools for configuration'
9 url='https://www.wireguard.com/'
12 optdepends=('openresolv: for DNS functionality'
13 'sudo: elevate privileges')
14 validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <Jason@zx2c4.com>
15 source=("https://git.zx2c4.com/${pkgname}/snapshot/${pkgname}-${pkgver}.tar"{.xz,.asc})
16 sha256sums=('97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac'
20 cd ${pkgname}-${pkgver}/
22 find contrib/ -name '.gitignore' -delete
26 cd ${pkgname}-${pkgver}/
32 cd ${pkgname}-${pkgver}/
35 DESTDIR="${pkgdir}/" \
36 WITH_BASHCOMPLETION=yes \
38 WITH_SYSTEMDUNITS=yes \
41 install -d -m0755 "${pkgdir}"/usr/share/${pkgname}/
42 cp -r contrib/ "${pkgdir}"/usr/share/${pkgname}/examples/