summaryrefslogtreecommitdiff
path: root/libre/acpi_call-parabola/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-28 02:30:20 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-28 02:30:20 -0300
commit9ff0faff02e939e13c7671b2ebbac34fdb9c6aa6 (patch)
tree45a3bb12ccad492381700bbe89fd7bc65cc64dc4 /libre/acpi_call-parabola/PKGBUILD
parent2c31a61e5387440214e06448393a1701254ac03a (diff)
acpi_call-parabola: add multi kernels
Diffstat (limited to 'libre/acpi_call-parabola/PKGBUILD')
-rw-r--r--libre/acpi_call-parabola/PKGBUILD22
1 files changed, 20 insertions, 2 deletions
diff --git a/libre/acpi_call-parabola/PKGBUILD b/libre/acpi_call-parabola/PKGBUILD
index 96d746146..051560cb3 100644
--- a/libre/acpi_call-parabola/PKGBUILD
+++ b/libre/acpi_call-parabola/PKGBUILD
@@ -8,11 +8,29 @@
_kernelname=
_basekernel=3.16
-_pkgrel=11.3
+_pkgrel=1
-if [[ ${_kernelname} == -lts ]]; then
+if [[ ${_kernelname} == "" ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=11.3
+elif [[ ${_kernelname} == -lts ]]; then
_basekernel=3.14
_pkgrel=7
+elif [[ ${_kernelname} == -grsec ]]; then
+ _basekernel=3.15
+ _pkgrel=1
+elif [[ ${_kernelname} == -lts-knock ]]; then
+ _basekernel=3.10
+ _pkgrel=1
+elif [[ ${_kernelname} == -rt ]]; then
+ _basekernel=3.14
+ _pkgrel=1
+elif [[ ${_kernelname} == -pae ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=1
+elif [[ ${_kernelname} == -xen ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=1
fi
_pkgname=acpi_call