diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-09 20:54:54 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-09 20:54:54 -0300 |
commit | 623b7b18399485c299592b91a1ba62a33a5611c0 (patch) | |
tree | bbadd0ab57b6921ecbef018d9c1e5ec70147fc1b /libre/acpi_call | |
parent | d18cd444c935f89c80c8b15e4f37730f48c343f6 (diff) |
kernel module packages: keep more generic
Diffstat (limited to 'libre/acpi_call')
-rw-r--r-- | libre/acpi_call/PKGBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD index 8343ad32a..66a780d50 100644 --- a/libre/acpi_call/PKGBUILD +++ b/libre/acpi_call/PKGBUILD @@ -7,10 +7,9 @@ # Contributor: Márcio Silva <coadde@parabola.nu> _kernelname= -_basekernel=3.16 if [[ ${_kernelname} == "" ]]; then - _basekernel=${_basekernel} + _basekernel=3.16 _archrel=11 _parabolarel=2 elif [[ ${_kernelname} == -lts ]]; then @@ -18,29 +17,29 @@ elif [[ ${_kernelname} == -lts ]]; then _archrel=7 _parabolarel=2 elif [[ ${_kernelname} == -grsec ]]; then - _basekernel=3.15 - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _basekernel=3.16 + _archrel=1 + _parabolarel=1 elif [[ ${_kernelname} == -lts-grsec ]]; then _basekernel=3.14 - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _archrel=1 + _parabolarel=1 elif [[ ${_kernelname} == -lts-knock ]]; then _basekernel=3.10 - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _archrel=1 + _parabolarel=1 elif [[ ${_kernelname} == -rt ]]; then _basekernel=3.14 - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _archrel=1 + _parabolarel=1 elif [[ ${_kernelname} == -pae ]]; then - _basekernel=${_basekernel} - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _basekernel=3.16 + _archrel=1 + _parabolarel=1 elif [[ ${_kernelname} == -xen ]]; then - _basekernel=${_basekernel} - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _basekernel=3.16 + _archrel=1 + _parabolarel=1 fi _pkgname=acpi_call @@ -62,6 +61,9 @@ replaces=("${_pkgname}-libre${_kernelname}" "${_pkgname}-parabola${_kernelname}" [[ -n ${_kernelname} ]] && replaces+=("${_pkgname}${_kernelname}-parabola") conflicts=("${_pkgname}-libre${_kernelname}" "${_pkgname}-parabola${_kernelname}") [[ -n ${_kernelname} ]] && conflicts+=("${_pkgname}${_kernelname}-parabola") +if [[ ${_kernelname} != "" ]]; then + provides=("${_pkgname}") +fi install='kmod.install' source=("${url}/archive/v${pkgver}.tar.gz") |