diff options
Diffstat (limited to 'libre/acpi_call-parabola/PKGBUILD')
-rw-r--r-- | libre/acpi_call-parabola/PKGBUILD | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/libre/acpi_call-parabola/PKGBUILD b/libre/acpi_call-parabola/PKGBUILD index e211d9ada..35fda1171 100644 --- a/libre/acpi_call-parabola/PKGBUILD +++ b/libre/acpi_call-parabola/PKGBUILD @@ -6,13 +6,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=11.3 +elif [[ ${_kernelname} == -lts ]]; then + _basekernel=3.14 + _pkgrel=7 +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=acpi_call pkgname=${_pkgname}${_kernelname}-parabola pkgver=1.1.0 -pkgrel=11.3 # linux-libre=11.3 | linux-libre-lts=7 +pkgrel=${_pkgrel} _extramodules=extramodules-${_basekernel}${_kernelname} pkgdesc="A linux kernel module that enables calls to ACPI methods through /proc/acpi/call (built for the linux-libre${_kernelname} kernel package)" arch=('i686' 'x86_64' 'mips64el') |