[arch-commits] Commit in wireguard/repos (4 files)
Christian Hesse
eworm at archlinux.org
Sun Jan 15 15:53:16 UTC 2017
Date: Sunday, January 15, 2017 @ 15:53:15
Author: eworm
Revision: 207472
archrelease: copy trunk to community-testing-x86_64, community-testing-i686
Added:
wireguard/repos/community-testing-i686/
wireguard/repos/community-testing-i686/PKGBUILD
(from rev 207471, wireguard/trunk/PKGBUILD)
wireguard/repos/community-testing-x86_64/
wireguard/repos/community-testing-x86_64/PKGBUILD
(from rev 207471, wireguard/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
Copied: wireguard/repos/community-testing-i686/PKGBUILD (from rev 207471, wireguard/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-01-15 15:53:15 UTC (rev 207472)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
+
+pkgbase=wireguard
+pkgname=(wireguard-dkms wireguard-tools)
+pkgver=0.0.20170115
+pkgrel=1
+pkgdesc='next generation secure network tunnel'
+arch=('x86_64' 'i686')
+url='http://www.wireguard.io/'
+license=('GPL')
+makedepends=('git' 'libmnl')
+source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz")
+sha256sums=('7e5f9f4699a2d4ace90d0df5d81bf0f67205ee08c45b95e0acc379bedef5ffe8')
+
+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')
+
+ 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-testing-x86_64/PKGBUILD (from rev 207471, wireguard/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-01-15 15:53:15 UTC (rev 207472)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
+
+pkgbase=wireguard
+pkgname=(wireguard-dkms wireguard-tools)
+pkgver=0.0.20170115
+pkgrel=1
+pkgdesc='next generation secure network tunnel'
+arch=('x86_64' 'i686')
+url='http://www.wireguard.io/'
+license=('GPL')
+makedepends=('git' 'libmnl')
+source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz")
+sha256sums=('7e5f9f4699a2d4ace90d0df5d81bf0f67205ee08c45b95e0acc379bedef5ffe8')
+
+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')
+
+ 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}/
+}
+
More information about the arch-commits
mailing list