summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-lts-knock
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/linux-libre-lts-knock')
-rw-r--r--kernels/linux-libre-lts-knock/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernels/linux-libre-lts-knock/PKGBUILD b/kernels/linux-libre-lts-knock/PKGBUILD
index f85e92604..89228825f 100644
--- a/kernels/linux-libre-lts-knock/PKGBUILD
+++ b/kernels/linux-libre-lts-knock/PKGBUILD
@@ -10,12 +10,12 @@
pkgbase=linux-libre-lts-knock # Build stock -lts-knock kernel
_pkgbasever=3.10-gnu
_pkgver=3.10.53-gnu
-_archver=3.10.53
_knockpatchver=3.10
_replaces=('kernel26%' 'linux%') # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
+_archpkgver=${pkgver%-*}
pkgver=${_pkgver//-/.}
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
@@ -139,7 +139,7 @@ _package() {
[ "${pkgbase}" = "linux-libre" ] && groups=('base')
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
- provides=( "${_replaces[@]/%/=${_archver}}")
+ provides=( "${_replaces[@]/%/=${_archpkgver}}")
conflicts=("${_replaces[@]}")
replaces=( "${_replaces[@]}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
@@ -198,7 +198,7 @@ _package() {
_package-headers() {
pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel"
- provides=( "${_replaces[@]/%/-headers=${_archver}}")
+ provides=( "${_replaces[@]/%/-headers=${_archpkgver}}")
conflicts=("${_replaces[@]/%/-headers}")
replaces=( "${_replaces[@]/%/-headers}")
@@ -338,7 +338,7 @@ _package-headers() {
_package-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel"
- provides=( "${_replaces[@]/%/-docs=${_archver}}")
+ provides=( "${_replaces[@]/%/-docs=${_archpkgver}}")
conflicts=("${_replaces[@]/%/-docs}")
replaces=( "${_replaces[@]/%/-docs}")