summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-01-13 17:48:02 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-01-13 17:48:02 (GMT)
commit717a40a4814c1cf025eb6a5bd2a526522d830538 (patch)
tree9198d28d52abedede4ff98afb3b0d64df52d746d
parent8c3f9526d9cf26a060770ed98629634d44aee7e8 (diff)
downloadlinhes_pkgbuild-717a40a4814c1cf025eb6a5bd2a526522d830538.zip
linhes_pkgbuild-717a40a4814c1cf025eb6a5bd2a526522d830538.tar.gz
linhes_pkgbuild-717a40a4814c1cf025eb6a5bd2a526522d830538.tar.bz2
lirc: link /etc/lirc/lircd.conf to /etc/lircd.conf
-rw-r--r--abs/core/lirc/PKGBUILD8
-rw-r--r--abs/core/lirc/__changelog3
2 files changed, 8 insertions, 3 deletions
diff --git a/abs/core/lirc/PKGBUILD b/abs/core/lirc/PKGBUILD
index ecffb06..695b42c 100644
--- a/abs/core/lirc/PKGBUILD
+++ b/abs/core/lirc/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=lirc
pkgname=('lirc' 'lirc-utils')
_pkgver=0.9.1a
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
-pkgrel=12
+pkgrel=13
epoch=1
_extramodules=extramodules-3.18-ARCH
arch=('i686' 'x86_64')
@@ -78,7 +78,7 @@ package_lirc() {
package_lirc-utils() {
pkgdesc="Linux Infrared Remote Control utils"
- depends=('alsa-lib' 'libx11' 'libftdi-compat' 'libirman')
+ depends=('alsa-lib' 'libx11' 'libftdi-compat' 'libirman' 'iguanair')
optdepends=('python2: pronto2lirc utility')
options=('strip')
backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf')
@@ -99,4 +99,8 @@ package_lirc-utils() {
# remove built modules
rm -r "${pkgdir}/usr/lib/modules"
+
+ # LinHES remotes service needs etc/lirc/lircd.conf symlinked to etc/lircd.conf
+ rm -f "${pkgdir}/etc/lirc/lircd.conf"
+ ln -s "/etc/lircd.conf" "${pkgdir}/etc/lirc/lircd.conf"
}
diff --git a/abs/core/lirc/__changelog b/abs/core/lirc/__changelog
index 19c9302..db66a42 100644
--- a/abs/core/lirc/__changelog
+++ b/abs/core/lirc/__changelog
@@ -1 +1,2 @@
-added 'iguanair' to make depends and package depends
+PKGBUILD: add 'iguanair' to make depends and package_lirc and package_lirc-utils depends
+PKGBUILD: symlink /etc/lircd.conf to package_lirc-utils