summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xen
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 /kernels/linux-libre-xen
parent28529fefc594bf968ca30905a5a2d6c9ae1d6f3c (diff)
downloadabslibre-e015c3d8bae751dc9788da5604cfece47d2c4ce8.tar.gz
abslibre-e015c3d8bae751dc9788da5604cfece47d2c4ce8.tar.bz2
abslibre-e015c3d8bae751dc9788da5604cfece47d2c4ce8.zip
fix some issues on the kernels
Diffstat (limited to 'kernels/linux-libre-xen')
-rw-r--r--kernels/linux-libre-xen/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD
index bfe9c1dc2..537d51bd5 100644
--- a/kernels/linux-libre-xen/PKGBUILD
+++ b/kernels/linux-libre-xen/PKGBUILD
@@ -10,8 +10,9 @@
pkgbase=linux-libre-xen # Build stock -xen kernel
_pkgbasever=3.16-gnu
_pkgver=3.16.1-gnu
+_archver=3.16.1
-_replaces=('kernel26%' 'kernel26-libre%' 'linux%' 'linux-libre%-kmod-alx') # '%' gets replaced with _kernelname
+_replaces=('kernel26%' 'linux%') # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
pkgver=${_pkgver//-/.}
@@ -21,8 +22,8 @@ url="http://linux-libre.fsfla.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
-source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasekernel}/linux-libre-${_pkgbasekernel}.tar.xz"
- "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_basekernel}-${_pkgver}.xz"
+source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz"
+ "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz"
# the main kernel config files
'config'
# standard config files for mkinitcpio ramdisk
@@ -100,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[@]/%/=${pkgver}}")
+ provides=( "${_replaces[@]/%/=${_archver}}")
conflicts=("${_replaces[@]}")
replaces=( "${_replaces[@]}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
@@ -161,7 +162,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}")
@@ -280,7 +281,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}")