diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-28 05:58:29 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-28 05:58:29 -0300 |
commit | 38ff2f0292589b31d54e566e8df6b00ff65f8537 (patch) | |
tree | 9b1af864f45ec54e7bc391dfd868b2d4b4a19bfe /libre/acpi_call-parabola | |
parent | c18ce93729e6f32f4df199c1845c49b80bd88532 (diff) | |
parent | 587875af278dfc6899376afa44e38f3158e0137e (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/acpi_call-parabola')
-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') |