Date: Saturday, November 11, 2017 @ 20:37:22 Author: eworm Revision: 266258
archrelease: copy trunk to community-x86_64 Added: wireguard/repos/community-x86_64/PKGBUILD (from rev 266257, wireguard/trunk/PKGBUILD) Deleted: wireguard/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-11 20:37:11 UTC (rev 266257) +++ PKGBUILD 2017-11-11 20:37:22 UTC (rev 266258) @@ -1,57 +0,0 @@ -# $Id$ -# Maintainer: Christian Hesse <m...@eworm.de> -# Contributor: Jason A. Donenfeld <ja...@zx2c4.com> - -pkgbase=wireguard -pkgname=(wireguard-dkms wireguard-tools) -pkgver=0.0.20171101 -pkgrel=1 -pkgdesc='next generation secure network tunnel' -arch=('x86_64' 'i686') -url='http://www.wireguard.com/' -license=('GPL') -makedepends=('git' 'libmnl') -source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz") -sha256sums=('096b6482a65e566c7bf8c059f5ee6aadb2de565b04b6d810c685f1c377540325') - -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 266257, wireguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-11 20:37:22 UTC (rev 266258) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Jason A. Donenfeld <ja...@zx2c4.com> + +pkgbase=wireguard +pkgname=(wireguard-dkms wireguard-tools) +pkgver=0.0.20171111 +pkgrel=1 +pkgdesc='next generation secure network tunnel' +arch=('x86_64' 'i686') +url='http://www.wireguard.com/' +license=('GPL') +makedepends=('git' 'libmnl') +source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz") +sha256sums=('d9347786a9406ac276d86321ca64aadb1f0639cb0582c6e0519c634cf6e81157') + +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}/ +} +