summaryrefslogtreecommitdiff
path: root/libre/lirc/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-09 20:54:54 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-09 20:54:54 -0300
commit623b7b18399485c299592b91a1ba62a33a5611c0 (patch)
treebbadd0ab57b6921ecbef018d9c1e5ec70147fc1b /libre/lirc/PKGBUILD
parentd18cd444c935f89c80c8b15e4f37730f48c343f6 (diff)
downloadabslibre-623b7b18399485c299592b91a1ba62a33a5611c0.tar.gz
abslibre-623b7b18399485c299592b91a1ba62a33a5611c0.tar.bz2
abslibre-623b7b18399485c299592b91a1ba62a33a5611c0.zip
kernel module packages: keep more generic
Diffstat (limited to 'libre/lirc/PKGBUILD')
-rw-r--r--libre/lirc/PKGBUILD46
1 files changed, 23 insertions, 23 deletions
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"