summaryrefslogtreecommitdiff
path: root/libre/lirc-parabola/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 00:31:29 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 00:31:29 -0300
commit3a6a26b23d3555663872bdbc6d1d92ef71300f35 (patch)
tree6ae69ec5243249de7eacf8f584740174ed1af9be /libre/lirc-parabola/PKGBUILD
parent6e276a4e37bd5b710f4d2a9e23d43551a2cdf0b4 (diff)
downloadabslibre-3a6a26b23d3555663872bdbc6d1d92ef71300f35.tar.gz
abslibre-3a6a26b23d3555663872bdbc6d1d92ef71300f35.tar.bz2
abslibre-3a6a26b23d3555663872bdbc6d1d92ef71300f35.zip
lirc-parabola: fixing pkg
Diffstat (limited to 'libre/lirc-parabola/PKGBUILD')
-rw-r--r--libre/lirc-parabola/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD
index c02888e5a..5b375578c 100644
--- a/libre/lirc-parabola/PKGBUILD
+++ b/libre/lirc-parabola/PKGBUILD
@@ -77,11 +77,13 @@ build() {
_package_lirc-parabola() {
pkgdesc="Linux Infrared Remote Control kernel modules (built for the linux-libre${_kernelname} kernel package)"
depends=("${pkgbase}-utils" "linux-libre${_kernelname}>=${_basekernel}" "linux-libre${_kernelname}<${_toohigh}")
- replaces=("${pkgbase}+pctv")
+ replaces=("${pkgbase}${_kernelname}" "${pkgbase}-libre${_kernelname}")
+ [[ -n ${_kernelname} ]] && replaces+=("${pkgbase}-parabola${_kernelname}")
+ conflicts=("${pkgbase}${_kernelname}" "${pkgbase}-libre${_kernelname}")
+ [[ -n ${_kernelname} ]] && conflicts+=("${pkgbase}-parabola${_kernelname}")
+ provides=("${pkgbase}${_kernelname}=${pkgver}")
+ replaces+=("${pkgbase}+pctv")
install=kmod.install
- replaces+=("${pkgbase}${_kernelname}" "${pkgbase}-libre${_kernelname}" "${pkgbase}-parabola${_kernelname}")
- conflicts+=("${pkgbase}${_kernelname}" "${pkgbase}-libre${_kernelname}" "${pkgbase}-parabola${_kernelname}")
- provides+=("${pkgbase}${_kernelname}=${pkgver}")
cd "${srcdir}/${pkgbase}-${_pkgver}/drivers"