fix depend
This commit is contained in:
parent
69c6a16357
commit
fa738a0f94
7
.SRCINFO
7
.SRCINFO
@ -6,12 +6,13 @@ pkgbase = amneziawg-linux
|
||||
install = amneziawg-linux.install
|
||||
arch = x86_64
|
||||
license = GPLv2
|
||||
depends = linux=6.11.8.arch1-2
|
||||
depends = linux-headers=6.11.8.arch1-2
|
||||
makedepends = linux
|
||||
makedepends = linux-headers
|
||||
provides = AMNEZIAWG-MODULE=1.0.20241112
|
||||
source = amneziawg-linux-1.0.20241112.tar.gz::https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/archive/refs/tags/v1.0.20241112.tar.gz
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.8.tar.xz
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.12.3.tar.xz
|
||||
sha512sums = 0d0dde7324088f2f3eff2cff9679e7f25b20d9796462da9949e6fc97af320a43ace27f9dfbd32cc2995449a68b313d6877ced6aa0ad3fbd02f15b1338e62fdff
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = amneziawg-linux
|
||||
depends = linux
|
||||
|
3
PKGBUILD
3
PKGBUILD
@ -27,7 +27,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
depends+=("linux=$_linux")
|
||||
# depends+=("linux=$_linux")
|
||||
depends+=("linux")
|
||||
cd ${srcdir}/amneziawg-linux-kernel-module-${pkgver}/src
|
||||
install -Dm644 "${srcdir}/amneziawg-linux-kernel-module-${pkgver}/src/amneziawg.ko" "$pkgdir/usr/lib/modules/$(ls /usr/lib/modules/ | grep arch | sort -u | tail -1)/kernel/drivers/net/wireguard/amneziawg.ko"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user