summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-27 01:18:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-27 01:18:01 -0300
commit14f4a0f48b52dda7eff46b4efd93756899a41811 (patch)
tree176bacd69f4016ec3010a187c967b226bc3efc26
parent82c9225127cc0721404ee44deac8493e65e96ffb (diff)
parentf8f2303d9f8a4c9a012e0dd86f79ceed690fed36 (diff)
downloadabslibre-14f4a0f48b52dda7eff46b4efd93756899a41811.tar.gz
abslibre-14f4a0f48b52dda7eff46b4efd93756899a41811.tar.bz2
abslibre-14f4a0f48b52dda7eff46b4efd93756899a41811.zip
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
-rw-r--r--libre/lirc-parabola/PKGBUILD15
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}"