Date: Friday, September 6, 2019 @ 08:40:27 Author: eworm Revision: 508258
archrelease: copy trunk to community-x86_64 Added: wireguard-lts/repos/community-x86_64/PKGBUILD (from rev 508257, wireguard-lts/trunk/PKGBUILD) Deleted: wireguard-lts/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-06 08:40:25 UTC (rev 508257) +++ PKGBUILD 2019-09-06 08:40:27 UTC (rev 508258) @@ -1,32 +0,0 @@ -# Maintainer: Christian Hesse <m...@eworm.de> - -pkgname='wireguard-lts' -pkgver=0.0.20190702 -pkgrel=5 -_linux_major=4 -_linux_minor=19 -arch=('x86_64') -url='https://www.wireguard.com/' -license=('GPL') -_linux_cur=${_linux_major}.${_linux_minor} -_linux_next=${_linux_major}.$((_linux_minor + 1)) -makedepends=("linux-lts>=$_linux_cur" "linux-lts<$_linux_next" - "linux-lts-headers>=$_linux_cur" "linux-lts-headers<$_linux_next" - "wireguard-dkms>=$pkgver") - -_extramodules="extramodules-${_linux_major}.${_linux_minor}-lts" - -package_wireguard-lts() { - _kernver="$(cat /usr/lib/modules/$_extramodules/version)" - pkgdesc='Wireguard module for LTS Kernel' - license=('GPL') - depends=("linux-lts>=$_linux_cur" "linux-lts<$_linux_next") - conflicts=('wireguard-dkms') - provides=('WIREGUARD-MODULE') - - cd "/var/lib/dkms/wireguard/${pkgver}/$_kernver/$CARCH/module" - install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m0644 * - - # compress each module individually - find "$pkgdir" -name '*.ko' -exec xz -T1 {} + -} Copied: wireguard-lts/repos/community-x86_64/PKGBUILD (from rev 508257, wireguard-lts/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-06 08:40:27 UTC (rev 508258) @@ -0,0 +1,32 @@ +# Maintainer: Christian Hesse <m...@eworm.de> + +pkgname='wireguard-lts' +pkgver=0.0.20190905 +pkgrel=1 +_linux_major=4 +_linux_minor=19 +arch=('x86_64') +url='https://www.wireguard.com/' +license=('GPL') +_linux_cur=${_linux_major}.${_linux_minor} +_linux_next=${_linux_major}.$((_linux_minor + 1)) +makedepends=("linux-lts>=$_linux_cur" "linux-lts<$_linux_next" + "linux-lts-headers>=$_linux_cur" "linux-lts-headers<$_linux_next" + "wireguard-dkms>=$pkgver") + +_extramodules="extramodules-${_linux_major}.${_linux_minor}-lts" + +package_wireguard-lts() { + _kernver="$(cat /usr/lib/modules/$_extramodules/version)" + pkgdesc='Wireguard module for LTS Kernel' + license=('GPL') + depends=("linux-lts>=$_linux_cur" "linux-lts<$_linux_next") + conflicts=('wireguard-dkms') + provides=('WIREGUARD-MODULE') + + cd "/var/lib/dkms/wireguard/${pkgver}/$_kernver/$CARCH/module" + install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m0644 * + + # compress each module individually + find "$pkgdir" -name '*.ko' -exec xz -T1 {} + +}