summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-pae/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 17:47:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 17:47:55 -0300
commit5df1490b1ae825f3b2422115ab13f557b1aa49e9 (patch)
treeb8efa3dd44bde4f20a1ebb26023808aaeb6bd586 /kernels/linux-libre-pae/PKGBUILD
parent90aca6b17865eafd41b20a46ad76ec58c9126a29 (diff)
linux-libre kernels and dependencies: add libre suffix packages on replaces and conflicts, rename $archver to $archpkgver with improvements on the variables
Diffstat (limited to 'kernels/linux-libre-pae/PKGBUILD')
-rw-r--r--kernels/linux-libre-pae/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernels/linux-libre-pae/PKGBUILD b/kernels/linux-libre-pae/PKGBUILD
index a984d646c..f73b1afe4 100644
--- a/kernels/linux-libre-pae/PKGBUILD
+++ b/kernels/linux-libre-pae/PKGBUILD
@@ -10,11 +10,11 @@
pkgbase=linux-libre-pae # Build stock -pae kernel
_pkgbasever=3.16-gnu
_pkgver=3.16.1-gnu
-_archver=3.16.1
_replaces=('kernel26%' 'linux%') # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
+_archpkgver=${pkgver%-*}
pkgver=${_pkgver//-/.}
pkgrel=1
arch=('i686')
@@ -101,7 +101,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")
@@ -162,7 +162,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}")
@@ -281,7 +281,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}")