Date: Tuesday, December 18, 2018 @ 19:46:36 Author: eworm Revision: 416708
archrelease: copy trunk to community-x86_64 Added: wireguard/repos/community-x86_64/PKGBUILD (from rev 416707, wireguard/trunk/PKGBUILD) Deleted: wireguard/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-18 19:46:26 UTC (rev 416707) +++ PKGBUILD 2018-12-18 19:46:36 UTC (rev 416708) @@ -1,58 +0,0 @@ -# Maintainer: Christian Hesse <m...@eworm.de> -# Contributor: Jason A. Donenfeld <ja...@zx2c4.com> - -pkgbase=wireguard -pkgname=(wireguard-dkms wireguard-tools) -pkgver=0.0.20181119 -pkgrel=1 -pkgdesc='next generation secure network tunnel' -arch=('x86_64') -url='http://www.wireguard.com/' -license=('GPL') -makedepends=('git' 'libmnl') -validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <ja...@zx2c4.com> -source=("https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar"{.xz,.asc}) -sha256sums=('7d47f7996dd291069de4efb3097c42f769f60dc3ac6f850a4d5705f321e4406b' - 'SKIP') - -prepare() { - cd WireGuard-${pkgver}/ - - find contrib/examples/ -name '.gitignore' -delete -} - -build() { - cd WireGuard-${pkgver}/ - - make -C src/tools/ -} - -package_wireguard-dkms() { - depends=('dkms') - provides=('WIREGUARD-MODULE') - - cd WireGuard-${pkgver}/ - - make -C src/ \ - DESTDIR="${pkgdir}/" \ - DKMSDIR="/usr/src/wireguard-${pkgver}/" \ - dkms-install -} - -package_wireguard-tools() { - depends=('libmnl' 'WIREGUARD-MODULE') - optdepends=('openresolv: for DNS functionality') - - cd WireGuard-${pkgver}/ - - make -C src/tools/ \ - DESTDIR="${pkgdir}/" \ - WITH_BASHCOMPLETION=yes \ - WITH_WGQUICK=yes \ - WITH_SYSTEMDUNITS=yes \ - install - - install -d -m0755 "${pkgdir}"/usr/share/${pkgbase}/ - cp -r contrib/examples/ "${pkgdir}"/usr/share/${pkgbase}/ -} - Copied: wireguard/repos/community-x86_64/PKGBUILD (from rev 416707, wireguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-18 19:46:36 UTC (rev 416708) @@ -0,0 +1,58 @@ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Jason A. Donenfeld <ja...@zx2c4.com> + +pkgbase=wireguard +pkgname=(wireguard-dkms wireguard-tools) +pkgver=0.0.20181218 +pkgrel=1 +pkgdesc='next generation secure network tunnel' +arch=('x86_64') +url='http://www.wireguard.com/' +license=('GPL') +makedepends=('git' 'libmnl') +validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <ja...@zx2c4.com> +source=("https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar"{.xz,.asc}) +sha256sums=('2e9f86acefa49dbfb7fa6f5e10d543f1885a2d5460cd5e102696901107675735' + 'SKIP') + +prepare() { + cd WireGuard-${pkgver}/ + + find contrib/examples/ -name '.gitignore' -delete +} + +build() { + cd WireGuard-${pkgver}/ + + make -C src/tools/ +} + +package_wireguard-dkms() { + depends=('dkms') + provides=('WIREGUARD-MODULE') + + cd WireGuard-${pkgver}/ + + make -C src/ \ + DESTDIR="${pkgdir}/" \ + DKMSDIR="/usr/src/wireguard-${pkgver}/" \ + dkms-install +} + +package_wireguard-tools() { + depends=('libmnl' 'WIREGUARD-MODULE') + optdepends=('openresolv: for DNS functionality') + + cd WireGuard-${pkgver}/ + + make -C src/tools/ \ + DESTDIR="${pkgdir}/" \ + WITH_BASHCOMPLETION=yes \ + WITH_WGQUICK=yes \ + WITH_SYSTEMDUNITS=yes \ + install + + install -d -m0755 "${pkgdir}"/usr/share/${pkgbase}/ + cp -r contrib/examples/ "${pkgdir}"/usr/share/${pkgbase}/ +} +