diff --git a/PKGBUILD b/PKGBUILD index 6e8d036..e0d971e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Philip Müller _linuxprefix=linux-xanmod-lts -_kernver=$(find /usr/lib/modules -type d -iname 6.1.76*xanmod* | rev | cut -d "/" -f1 | rev) +_kernver="$(cat /usr/src/${_linuxprefix}/version)" pkgname="$_linuxprefix-zfs" pkgver=2.2.2