summaryrefslogtreecommitdiff
path: root/libre/lirc-parabola/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-28 02:42:04 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-28 02:42:04 -0300
commita5eb9df52ab03047e684ecd9fb69378a28e49352 (patch)
tree49c1679c1439c84b33ecf174f6d6f4745adee0b5 /libre/lirc-parabola/PKGBUILD
parent11a3b43f31fedd4346bd6e9b0651c022b813eba9 (diff)
downloadabslibre-a5eb9df52ab03047e684ecd9fb69378a28e49352.tar.gz
abslibre-a5eb9df52ab03047e684ecd9fb69378a28e49352.tar.bz2
abslibre-a5eb9df52ab03047e684ecd9fb69378a28e49352.zip
lirc-parabola: add multi kernels
Diffstat (limited to 'libre/lirc-parabola/PKGBUILD')
-rw-r--r--libre/lirc-parabola/PKGBUILD26
1 files changed, 25 insertions, 1 deletions
diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD
index e5d224805..11b6ae9d0 100644
--- a/libre/lirc-parabola/PKGBUILD
+++ b/libre/lirc-parabola/PKGBUILD
@@ -4,8 +4,32 @@
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: Márcio Silva <coadde@parabola.nu>
-_basekernel=3.16
_kernelname=
+_basekernel=3.16
+_pkgrel=3.3
+
+if [[ ${_kernelname} == "" ]]; then
+ _basekernel=${_basekernel}
+ _pkgrel=${_pkgrel}
+elif [[ ${_kernelname} == -lts ]]; then
+ _basekernel=3.14
+ _pkgrel=${_pkgrel}
+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
pkgbase=lirc
_pkgname=${pkgbase}${_kernelname}-parabola