diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/acpi_call/PKGBUILD | 36 | ||||
-rw-r--r-- | libre/bbswitch/PKGBUILD | 46 | ||||
-rw-r--r-- | libre/lirc/PKGBUILD | 46 | ||||
-rw-r--r-- | libre/tp_smapi/PKGBUILD | 40 | ||||
-rw-r--r-- | libre/vhba-module/PKGBUILD | 46 |
5 files changed, 109 insertions, 105 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") 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") diff --git a/libre/lirc/PKGBUILD b/libre/lirc/PKGBUILD index 8912bfe0e..d5d6d29a1 100644 --- a/libre/lirc/PKGBUILD +++ b/libre/lirc/PKGBUILD @@ -5,42 +5,39 @@ # Contributor: Márcio Silva <coadde@parabola.nu> _kernelname= -_basekernel=3.16 -_archrel=3 -_parabolarel=2 if [[ ${_kernelname} == "" ]]; then - _basekernel=${_basekernel} - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _basekernel=3.16 + _archrel=3 + _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 pkgbase=lirc @@ -122,6 +119,9 @@ package_lirc() { conflicts=("${_pkgname}-libre${_kernelname}" "${_pkgname}-parabola${_kernelname}") [[ -n ${_kernelname} ]] && conflicts+=("${_pkgname}${_kernelname}-parabola") replaces+=("${pkgbase}+pctv") + if [[ ${_kernelname} != "" ]]; then + provides=("${_pkgname}") + fi install=kmod.install cd "${srcdir}/${pkgbase}-${_pkgver}/drivers" diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD index fb56d06c8..46c30465c 100644 --- a/libre/tp_smapi/PKGBUILD +++ b/libre/tp_smapi/PKGBUILD @@ -11,40 +11,39 @@ # Contributor: Márcio Silva <coadde@parabola.nu> _kernelname= -_basekernel=3.16 if [[ ${_kernelname} == "" ]]; then - _basekernel=${_basekernel} + _basekernel=3.16 _archrel=52 _parabolarel=2 elif [[ ${_kernelname} == -lts ]]; then _basekernel=3.14 - _archrel=29 - _parabolarel=2 + _archrel=30 + _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=tp_smapi @@ -64,6 +63,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/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") diff --git a/libre/vhba-module/PKGBUILD b/libre/vhba-module/PKGBUILD index 04241760e..f146ef6f1 100644 --- a/libre/vhba-module/PKGBUILD +++ b/libre/vhba-module/PKGBUILD @@ -6,42 +6,39 @@ # Contributor: Márcio Silva <coadde@parabola.nu> _kernelname= -_basekernel=3.16 -_archrel=6 -_parabolarel=2 if [[ ${_kernelname} == "" ]]; then - _basekernel=${_basekernel} - _archrel=${_archrel} - _parabolarel=${_parabolarel} + _basekernel=3.16 + _archrel=6 + _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=vhba-module @@ -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 options=(!makeflags) install='kmod.install' |