Date: Monday, May 14, 2018 @ 06:23:21 Author: eworm Revision: 321729 archrelease: copy trunk to community-x86_64
Added: wireguard/repos/community-x86_64/PKGBUILD (from rev 321728, wireguard/trunk/PKGBUILD) Deleted: wireguard/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-14 06:23:17 UTC (rev 321728) +++ PKGBUILD 2018-05-14 06:23:21 UTC (rev 321729) @@ -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.20180420 -pkgrel=1 -pkgdesc='next generation secure network tunnel' -arch=('x86_64') -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=('b58cd2acf9e8d3fe9044c06c0056bd74da1f5673a456f011d36eee3f6fb1da16') - -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 321728, wireguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-14 06:23:21 UTC (rev 321729) @@ -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.20180513 +pkgrel=1 +pkgdesc='next generation secure network tunnel' +arch=('x86_64') +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=('28a15c59f6710851587ebca76a335f1aaaa077aad052732e0959f2bae9ba8d5c') + +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}/ +} +