diff options
-rw-r--r-- | libre/lirc-parabola/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD index a90fe7638..0a5ac892e 100644 --- a/libre/lirc-parabola/PKGBUILD +++ b/libre/lirc-parabola/PKGBUILD @@ -7,13 +7,12 @@ _basekernel=3.16 _kernelname= - pkgbase=lirc _pkgname=${pkgbase}${_kernelname}-parabola pkgname=("$_pkgname" "${pkgbase}-utils-parabola") _pkgver=0.9.1a [[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver" -pkgrel=3.2 +pkgrel=3.3 epoch=1 _extramodules=extramodules-${_basekernel}${_kernelname} arch=('i686' 'x86_64' 'mips64el') @@ -78,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}=${epoch}:${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" @@ -104,7 +105,7 @@ package_lirc-utils-parabola() { backup=("etc/${pkgbase}/${pkgbase}_options.conf" "etc/${pkgbase}/${pkgbase}d.conf" "etc/${pkgbase}/${pkgbase}md.conf") replaces=("${pkgbase}-utils" "${pkgbase}-libre-utils") conflicts=("${pkgbase}-utils" "${pkgbase}-libre-utils") - provides=("${pkgbase}-utils=$pkgver") + provides=("${pkgbase}-utils=${epoch}:${pkgver}") install=${pkgbase}-utils.install cd "${srcdir}/${pkgbase}-${_pkgver}" |