Date: Friday, December 6, 2019 @ 17:55:34 Author: eworm Revision: 535897
archrelease: copy trunk to community-x86_64 Added: wireguard-lts/repos/community-x86_64/PKGBUILD (from rev 535896, 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-12-06 17:55:24 UTC (rev 535896) +++ PKGBUILD 2019-12-06 17:55:34 UTC (rev 535897) @@ -1,32 +0,0 @@ -# Maintainer: Christian Hesse <m...@eworm.de> - -pkgname=wireguard-lts -pkgver=0.0.20191205 -pkgrel=2 -pkgdesc='Wireguard module for LTS Kernel' -url='https://www.wireguard.com/' -arch=('x86_64') -license=('GPL') -makedepends=('linux-lts-headers' "wireguard-dkms>=$pkgver") -conflicts=('wireguard-dkms') -provides=('WIREGUARD-MODULE') - -build() { - _kernver=$(</usr/src/linux-lts/version) - - dkms build --dkmstree "$srcdir" -m wireguard/$pkgver -k $_kernver -} - -package() { - depends=('linux-lts') - - _kernver="$(</usr/src/linux-lts/version)" - - install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 \ - wireguard/${pkgver}/$_kernver/$CARCH/module/* - - # compress each module individually - find "$pkgdir" -name '*.ko' -exec xz -T1 {} + -} - -# vim:set sw=2 et: Copied: wireguard-lts/repos/community-x86_64/PKGBUILD (from rev 535896, wireguard-lts/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-06 17:55:34 UTC (rev 535897) @@ -0,0 +1,32 @@ +# Maintainer: Christian Hesse <m...@eworm.de> + +pkgname=wireguard-lts +pkgver=0.0.20191206 +pkgrel=1 +pkgdesc='Wireguard module for LTS Kernel' +url='https://www.wireguard.com/' +arch=('x86_64') +license=('GPL') +makedepends=('linux-lts-headers' "wireguard-dkms>=$pkgver") +conflicts=('wireguard-dkms') +provides=('WIREGUARD-MODULE') + +build() { + _kernver=$(</usr/src/linux-lts/version) + + dkms build --dkmstree "$srcdir" -m wireguard/$pkgver -k $_kernver +} + +package() { + depends=('linux-lts') + + _kernver="$(</usr/src/linux-lts/version)" + + install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 \ + wireguard/${pkgver}/$_kernver/$CARCH/module/* + + # compress each module individually + find "$pkgdir" -name '*.ko' -exec xz -T1 {} + +} + +# vim:set sw=2 et: