summaryrefslogtreecommitdiff
path: root/libre/tp_smapi-parabola/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-28 02:48:58 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-28 02:48:58 -0300
commitd46ac1df625b16607a4ab698013b21bb489110b3 (patch)
tree78d214c88b1c7cd16300814a05206a56fc06aa70 /libre/tp_smapi-parabola/PKGBUILD
parenta5eb9df52ab03047e684ecd9fb69378a28e49352 (diff)
tp_smapi-parabola: add multi kernels
Diffstat (limited to 'libre/tp_smapi-parabola/PKGBUILD')
-rw-r--r--libre/tp_smapi-parabola/PKGBUILD28
1 files changed, 26 insertions, 2 deletions
diff --git a/libre/tp_smapi-parabola/PKGBUILD b/libre/tp_smapi-parabola/PKGBUILD
index 6a395a0dd..0a789ecb9 100644
--- a/libre/tp_smapi-parabola/PKGBUILD
+++ b/libre/tp_smapi-parabola/PKGBUILD
@@ -10,13 +10,37 @@
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: Márcio Silva <coadde@parabola.nu>
+_kernelname=
_basekernel=3.16
-_kernelname= # libre/linux-libre{,-lts}
+_pkgrel=1
+
+if [[ ${_kernelname} == "" ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=52.2
+elif [[ ${_kernelname} == -lts ]]; then
+ _basekernel=3.14
+ _pkgrel=29.1
+elif [[ ${_kernelname} == -grsec ]]; then
+ _basekernel=3.15
+ _pkgrel=${_pkgrel}
+elif [[ ${_kernelname} == -lts-knock ]]; then
+ _basekernel=3.10
+ _pkgrel=${_pkgrel}
+elif [[ ${_kernelname} == -rt ]]; then
+ _basekernel=3.14
+ _pkgrel=${_pkgrel}
+elif [[ ${_kernelname} == -pae ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=${_pkgrel}
+elif [[ ${_kernelname} == -xen ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=${_pkgrel}
+fi
_pkgname=tp_smapi
pkgname=${_pkgname}${_kernelname}-parabola
pkgver=0.41
-pkgrel=52.2 # linux-libre=52.2 | linux-libre-lts=29.1
+pkgrel=${_pkgrel}
_extramodules=extramodules-${_basekernel}${_kernelname}
pkgdesc="Modules for ThinkPad's SMAPI functionality (built for the linux-libre${_kernelname} kernel package)"
arch=('i686' 'x86_64' 'mips64el')