summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-12-07 02:11:21 -0300
committerDavid P <megver83@parabola.nu>2019-12-07 02:11:21 -0300
commit013e53ef280865b7fd000bbefec9e7d7c3aabef0 (patch)
tree5d035996be7743302bf1629e8f57b3aa3ebf34f8 /libre/linux-libre/PKGBUILD
parent5671964771ac01eaf06670be4b14c0262dee1362 (diff)
downloadabslibre-013e53ef280865b7fd000bbefec9e7d7c3aabef0.tar.gz
abslibre-013e53ef280865b7fd000bbefec9e7d7c3aabef0.tar.bz2
abslibre-013e53ef280865b7fd000bbefec9e7d7c3aabef0.zip
linux-libre: fix some variable substitutions
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 926f47e80..b9488e96e 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -177,7 +177,7 @@ _package() {
depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-libre-firmware: firmware images needed for some devices')
- provides=("${_replacesarchkernel[@]/%/=${pkgver%%_*}}" "LINUX-ABI_VERSION=${pkgver%%_*}")
+ provides=("${_replacesarchkernel[@]/%/=$pkgver}" "LINUX-ABI_VERSION=$pkgver")
conflicts=("${_replacesarchkernel[@]}" "${_replacesoldkernels[@]}" "${_replacesoldmodules[@]}")
replaces=("${_replacesarchkernel[@]}" "${_replacesoldkernels[@]}" "${_replacesoldmodules[@]}")
@@ -217,7 +217,7 @@ _package() {
_package-headers() {
pkgdesc="Header files and scripts for building modules for $pkgdesc kernel"
- provides=("${_replacesarchkernel[@]/%/-headers=${pkgver%%_*}}")
+ provides=("${_replacesarchkernel[@]/%/-headers=$pkgver}")
conflicts=("${_replacesarchkernel[@]/%/-headers}" "${_replacesoldkernels[@]/%/-headers}")
replaces=("${_replacesarchkernel[@]/%/-headers}" "${_replacesoldkernels[@]/%/-headers}")
@@ -319,7 +319,7 @@ _package-headers() {
_package-docs() {
pkgdesc="Documentation for the $pkgdesc kernel"
- provides=("${_replacesarchkernel[@]/%/-docs=${pkgver%%_*}}")
+ provides=("${_replacesarchkernel[@]/%/-docs=$pkgver}")
conflicts=("${_replacesarchkernel[@]/%/-docs}" "${_replacesoldkernels[@]/%/-docs}")
replaces=("${_replacesarchkernel[@]/%/-docs}" "${_replacesoldkernels[@]/%/-docs}")
@@ -344,8 +344,8 @@ _package-docs() {
_package-chromebook() {
pkgdesc="Kernel image sign for $pkgdesc - Chromebooks"
- depends=(linux-libre=${pkgver%%_*})
- provides=("${_replacesarchkernel[@]/%/-armv7-chromebook=${pkgver%%_*}}")
+ depends=(linux-libre=$pkgver)
+ provides=("${_replacesarchkernel[@]/%/-armv7-chromebook=$pkgver}")
conflicts=("${_replacesarchkernel[@]/%/-armv7-chromebook}" "${_replacesoldkernels[@]/%/-armv7-chromebook}")
replaces=("${_replacesarchkernel[@]/%/-armv7-chromebook}" "${_replacesoldkernels[@]/%/-armv7-chromebook}")
install=linux-chromebook.install