From 47b2671695b300eab6402317980fd2635612f46d Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 28 Aug 2014 02:06:29 -0300 Subject: bbswitch-parabola: fix type --- libre/bbswitch-parabola/PKGBUILD | 1 - 1 file changed, 1 deletion(-) (limited to 'libre/bbswitch-parabola/PKGBUILD') diff --git a/libre/bbswitch-parabola/PKGBUILD b/libre/bbswitch-parabola/PKGBUILD index 9a664f09c..410eeb441 100644 --- a/libre/bbswitch-parabola/PKGBUILD +++ b/libre/bbswitch-parabola/PKGBUILD @@ -1,4 +1,3 @@ -# $Id: PKGBUILD 116821 2014-08-04 07:12:07Z tpowa $ # Maintainer (Arch): Sven-Hendrik Haase # Contributor (Arch): M0Rf30 # Contributor (Arch): Samsagax -- cgit v1.2.3-54-g00ecf From 11a3b43f31fedd4346bd6e9b0651c022b813eba9 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 28 Aug 2014 02:35:18 -0300 Subject: bbswitch-parabola: add multi kernels --- libre/bbswitch-parabola/PKGBUILD | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'libre/bbswitch-parabola/PKGBUILD') diff --git a/libre/bbswitch-parabola/PKGBUILD b/libre/bbswitch-parabola/PKGBUILD index 410eeb441..bdac305f6 100644 --- a/libre/bbswitch-parabola/PKGBUILD +++ b/libre/bbswitch-parabola/PKGBUILD @@ -5,13 +5,37 @@ # Contributor: Luke Shumaker # Contributor: Márcio Silva -_basekernel=3.16 _kernelname= +_basekernel=3.16 +_pkgrel=15.2 + +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 _pkgname=bbswitch pkgname=${_pkgname}${_kernelname}-parabola pkgver=0.8 -pkgrel=15.2 +pkgrel=${_pkgrel} _extramodules=extramodules-${_basekernel}${_kernelname} pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops (built for the linux-libre${_kernelname} kernel package)" arch=('i686' 'x86_64' 'mips64el') -- cgit v1.2.3-54-g00ecf