summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-23 05:56:12 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-23 05:56:12 -0300
commite015c3d8bae751dc9788da5604cfece47d2c4ce8 (patch)
tree3d433cb02a2b0393d5a430ddb7468e8f9b90d3e0 /libre/linux-libre-lts
parent28529fefc594bf968ca30905a5a2d6c9ae1d6f3c (diff)
fix some issues on the kernels
Diffstat (limited to 'libre/linux-libre-lts')
-rw-r--r--libre/linux-libre-lts/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index f0f502750..c7af75a14 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -10,8 +10,10 @@
pkgbase=linux-libre-lts # Build kernel with -lts localname
_pkgbasever=3.14-gnu
_pkgver=3.14.17-gnu
+_archver=3.14.17
-_replaces=('kernel26%' 'kernel26-libre%' 'linux%' 'linux-libre%-kmod-alx') # '%' gets replaced with _kernelname
+_replaces=('kernel26%' 'linux%') # '%' gets replaced with _kernelname
+_replacesalx=('linux-libre%-kmod-alx') # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
pkgver=${_pkgver//-/.}
@@ -53,6 +55,7 @@ sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b'
_kernelname=${pkgbase#linux-libre}
_replaces=("${_replaces[@]/\%/${_kernelname}}")
+_replacesalx=("${_replacesalx/\%/${_kernelname}}")
case "$CARCH" in
i686|x86_64) KARCH=x86;;
@@ -129,9 +132,9 @@ _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[@]/%/=${pkgver}}")
- conflicts=("${_replaces[@]}")
- replaces=( "${_replaces[@]}")
+ provides=( "${_replaces[@]/%/=${_archver}}" "${_replacesalx}")
+ conflicts=("${_replaces[@]}" "${_replacesalx}")
+ replaces=( "${_replaces[@]}" "${_replacesalx}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=linux.install
@@ -188,7 +191,7 @@ _package() {
_package-headers() {
pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel"
- provides=( "${_replaces[@]/%/-headers=${pkgver}}")
+ provides=( "${_replaces[@]/%/-headers=${_archver}}")
conflicts=("${_replaces[@]/%/-headers}")
replaces=( "${_replaces[@]/%/-headers}")
@@ -307,7 +310,7 @@ _package-headers() {
_package-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel"
- provides=( "${_replaces[@]/%/-docs=${pkgver}}")
+ provides=( "${_replaces[@]/%/-docs=${_archver}}")
conflicts=("${_replaces[@]/%/-docs}")
replaces=( "${_replaces[@]/%/-docs}")