Skip to content
Snippets Groups Projects
Commit a3049b39 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Update to 0.10.2

parent cd28f18f
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,9 @@
# Contributor: Paul Mattal <paul@archlinux.org>
pkgname=lirc
_pkgver=0.10.1
_pkgver=0.10.2
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
pkgrel=12
pkgrel=1
epoch=1
pkgdesc="Linux Infrared Remote Control utilities"
arch=('x86_64')
......@@ -21,28 +21,14 @@ conflicts=('lirc-utils')
replaces=('lirc-utils')
backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf')
source=("https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2"
lirc-0.10-build-fix.patch
lirc.logrotate
lirc.tmpfiles
python-yaml-6.patch)
sha1sums=('9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a'
'952ce902c94d822b0113d8e74bc6fda6a551ad7e'
lirc.tmpfiles)
sha1sums=('02092890205891b6de5a699294485a1eedba46c5'
'4342b004eb53d51fcbb9af2cf136bb4990874608'
'5cd3f206e6e60632d9bea2ce9d22dbe5283eb129'
'3d6d40bba363051ae36c09709dc5a41166cf2d51')
prepare() {
cd "${srcdir}/lirc-${_pkgver}"
patch -p1 -i ../lirc-0.10-build-fix.patch
patch -p1 -i ../python-yaml-6.patch # Fix build with python-yaml 6
autoreconf -fi
automake -ac
}
'5cd3f206e6e60632d9bea2ce9d22dbe5283eb129')
build() {
cd "${srcdir}/lirc-${_pkgver}"
cd lirc-${_pkgver}
./configure \
--prefix=/usr \
......@@ -56,9 +42,9 @@ build() {
}
package() {
cd "${srcdir}/lirc-${_pkgver}"
cd lirc-${_pkgver}
make DESTDIR="${pkgdir}" -j1 install
make DESTDIR="${pkgdir}" install
install -Dm644 "${srcdir}"/lirc.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lirc.conf
install -Dm644 "${srcdir}"/lirc.logrotate "${pkgdir}"/etc/logrotate.d/lirc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment