summaryrefslogtreecommitdiff
path: root/libre/lirc-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/lirc-libre')
-rw-r--r--libre/lirc-libre/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD
index 6a8a1f207..7d296b088 100644
--- a/libre/lirc-libre/PKGBUILD
+++ b/libre/lirc-libre/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 219356 2014-08-06 11:45:19Z lfleischer $
+# $Id: PKGBUILD 220120 2014-08-16 22:32:11Z lfleischer $
# Maintainer (Arch): Paul Mattal <paul@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
_pkgbase=lirc
pkgbase=lirc-libre
pkgname=('lirc-libre' 'lirc-libre-utils')
-pkgver=0.9.1
+_pkgver=0.9.1a
+[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
pkgrel=1
epoch=1
_extramodules=extramodules-3.16-libre
@@ -15,19 +16,19 @@ license=('GPL')
# NOTICE: Don't forget to bump version in depends in package_lirc()!
makedepends=('help2man' 'linux-libre>=3.16' 'linux-libre<3.17' 'linux-libre-headers>=3.16' 'linux-libre-headers<3.17' 'alsa-lib' 'libx11' 'libftdi-compat' 'libirman' 'python2')
options=('!makeflags' '!strip')
-source=("http://prdownloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2"
+source=("http://prdownloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${_pkgver}.tar.bz2"
"wpc8769l-build-fix.patch"
lirc.logrotate
irexec.service
lirc.tmpfiles)
-md5sums=('3b78c3cc872d5e2fa78b796c2efd46db'
+md5sums=('1f1fac162ed309dd50f307e96a292957'
'9ec33169b3407f74264062d7679dd269'
'3deb02604b37811d41816e9b4385fcc3'
'32df3b9bc859565d6acf5f0e5b747083'
'febf25c154a7d36f01159e84f26c2d9a')
prepare() {
- cd "${srcdir}/lirc-${pkgver}"
+ cd "${srcdir}/lirc-${_pkgver}"
patch -Np1 -i "${srcdir}/wpc8769l-build-fix.patch"
@@ -42,7 +43,7 @@ prepare() {
}
build() {
- cd "${srcdir}/lirc-${pkgver}"
+ cd "${srcdir}/lirc-${_pkgver}"
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
PYTHON=python2 ./configure --enable-sandboxed --prefix=/usr \
@@ -67,7 +68,7 @@ package_lirc-libre() {
provides=("lirc=$pkgver")
install=lirc.install
- cd "${srcdir}/lirc-${pkgver}/drivers"
+ cd "${srcdir}/lirc-${_pkgver}/drivers"
make DESTDIR="${pkgdir}" moduledir="/usr/lib/modules/${_extramodules}" install
gzip -9 "${pkgdir}/usr/lib/modules/${_extramodules}"/*.ko
@@ -87,7 +88,7 @@ package_lirc-libre-utils() {
provides=("lirc-utils=$pkgver" 'lirc-utils-libre')
install=lirc-utils.install
- cd "${srcdir}/lirc-${pkgver}"
+ cd "${srcdir}/lirc-${_pkgver}"
make DESTDIR="${pkgdir}" install