diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/lirc-parabola/PKGBUILD | 10 |
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" |