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/bbswitch/PKGBUILD | |
parent | d18cd444c935f89c80c8b15e4f37730f48c343f6 (diff) |
kernel module packages: keep more generic
Diffstat (limited to 'libre/bbswitch/PKGBUILD')
-rw-r--r-- | libre/bbswitch/PKGBUILD | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/libre/bbswitch/PKGBUILD b/libre/bbswitch/PKGBUILD index 71b1d982f..600902794 100644 --- a/libre/bbswitch/PKGBUILD +++ b/libre/bbswitch/PKGBUILD @@ -6,42 +6,39 @@ # Contributor: Márcio Silva <coadde@parabola.nu> _kernelname= -_basekernel=3.16 -_archrel=15 -_parabolarel=2 if [[ ${_kernelname} == "" ]]; then - _basekernel=${_basekernel} - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _basekernel=3.16 + _archrel=15 + _parabolarel=2 elif [[ ${_kernelname} == -lts ]]; then _basekernel=3.14 - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _archrel=1 + _parabolarel=1 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=bbswitch @@ -61,6 +58,9 @@ makedepends=("linux-libre${_kernelname}-headers>=${_basekernel}" "linux-libre${_ replaces=("${_pkgname}-libre${_kernelname}" "${_pkgname}-parabola${_kernelname}") conflicts=("${_pkgname}-libre${_kernelname}" "${_pkgname}-parabola${_kernelname}") +if [[ ${_kernelname} != "" ]]; then + provides=("${_pkgname}") +fi install='kmod.install' source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz") |