Date: Saturday, July 2, 2016 @ 22:22:19 Author: lfleischer Revision: 270869
archrelease: copy trunk to testing-i686, testing-x86_64 Added: lirc/repos/testing-i686/ lirc/repos/testing-i686/PKGBUILD (from rev 270868, lirc/trunk/PKGBUILD) lirc/repos/testing-i686/lirc.install (from rev 270868, lirc/trunk/lirc.install) lirc/repos/testing-i686/lirc.logrotate (from rev 270868, lirc/trunk/lirc.logrotate) lirc/repos/testing-i686/lirc.tmpfiles (from rev 270868, lirc/trunk/lirc.tmpfiles) lirc/repos/testing-x86_64/ lirc/repos/testing-x86_64/PKGBUILD (from rev 270868, lirc/trunk/PKGBUILD) lirc/repos/testing-x86_64/lirc.install (from rev 270868, lirc/trunk/lirc.install) lirc/repos/testing-x86_64/lirc.logrotate (from rev 270868, lirc/trunk/lirc.logrotate) lirc/repos/testing-x86_64/lirc.tmpfiles (from rev 270868, lirc/trunk/lirc.tmpfiles) -------------------------------+ testing-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++ testing-i686/lirc.install | 13 +++++++++++ testing-i686/lirc.logrotate | 5 ++++ testing-i686/lirc.tmpfiles | 1 testing-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++ testing-x86_64/lirc.install | 13 +++++++++++ testing-x86_64/lirc.logrotate | 5 ++++ testing-x86_64/lirc.tmpfiles | 1 8 files changed, 128 insertions(+) Copied: lirc/repos/testing-i686/PKGBUILD (from rev 270868, lirc/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1,45 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> + +pkgname=lirc +_pkgver=0.9.4a +[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver" +pkgrel=1 +epoch=1 +pkgdesc="Linux Infrared Remote Control utilities" +arch=('i686' 'x86_64') +url="http://www.lirc.org/" +license=('GPL') +depends=('alsa-lib' 'libx11' 'libftdi') +makedepends=('help2man' 'alsa-lib' 'libx11' 'libxslt' 'python') +optdepends=('python: for lirc-setup, irdb-get and pronto2lirc') +provides=('lirc-utils') +conflicts=('lirc-utils') +replaces=('lirc-utils') +backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf') +install=lirc.install +source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2" + lirc.logrotate + lirc.tmpfiles) +md5sums=('d38566cb159c864089c24f2fcc7c5ccc' + '3deb02604b37811d41816e9b4385fcc3' + 'febf25c154a7d36f01159e84f26c2d9a') + +build() { + cd "${srcdir}/lirc-${_pkgver}" + + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var \ + --with-transmitter --enable-sandboxed + make +} + +package() { + cd "${srcdir}/lirc-${_pkgver}" + + 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 + + rmdir "${pkgdir}"/var/{run/lirc/,run/} +} Copied: lirc/repos/testing-i686/lirc.install (from rev 270868, lirc/trunk/lirc.install) =================================================================== --- testing-i686/lirc.install (rev 0) +++ testing-i686/lirc.install 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1,13 @@ +post_install() { + systemd-tmpfiles --create lirc.conf +} + +post_upgrade() { + post_install + + if [[ "$(vercmp $2 1:0.9.1-1)" -lt 0 ]]; then + echo ':: lirc.service and lircm.service have been replaced' + echo ' by the upstream unit files lircd.service and' + echo ' lircmd.service.' + fi +} Copied: lirc/repos/testing-i686/lirc.logrotate (from rev 270868, lirc/trunk/lirc.logrotate) =================================================================== --- testing-i686/lirc.logrotate (rev 0) +++ testing-i686/lirc.logrotate 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1,5 @@ +/var/log/lircd { + missingok + notifempty + delaycompress +} Copied: lirc/repos/testing-i686/lirc.tmpfiles (from rev 270868, lirc/trunk/lirc.tmpfiles) =================================================================== --- testing-i686/lirc.tmpfiles (rev 0) +++ testing-i686/lirc.tmpfiles 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1 @@ +d /run/lirc 0755 root root - Copied: lirc/repos/testing-x86_64/PKGBUILD (from rev 270868, lirc/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1,45 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> + +pkgname=lirc +_pkgver=0.9.4a +[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver" +pkgrel=1 +epoch=1 +pkgdesc="Linux Infrared Remote Control utilities" +arch=('i686' 'x86_64') +url="http://www.lirc.org/" +license=('GPL') +depends=('alsa-lib' 'libx11' 'libftdi') +makedepends=('help2man' 'alsa-lib' 'libx11' 'libxslt' 'python') +optdepends=('python: for lirc-setup, irdb-get and pronto2lirc') +provides=('lirc-utils') +conflicts=('lirc-utils') +replaces=('lirc-utils') +backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf') +install=lirc.install +source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2" + lirc.logrotate + lirc.tmpfiles) +md5sums=('d38566cb159c864089c24f2fcc7c5ccc' + '3deb02604b37811d41816e9b4385fcc3' + 'febf25c154a7d36f01159e84f26c2d9a') + +build() { + cd "${srcdir}/lirc-${_pkgver}" + + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var \ + --with-transmitter --enable-sandboxed + make +} + +package() { + cd "${srcdir}/lirc-${_pkgver}" + + 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 + + rmdir "${pkgdir}"/var/{run/lirc/,run/} +} Copied: lirc/repos/testing-x86_64/lirc.install (from rev 270868, lirc/trunk/lirc.install) =================================================================== --- testing-x86_64/lirc.install (rev 0) +++ testing-x86_64/lirc.install 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1,13 @@ +post_install() { + systemd-tmpfiles --create lirc.conf +} + +post_upgrade() { + post_install + + if [[ "$(vercmp $2 1:0.9.1-1)" -lt 0 ]]; then + echo ':: lirc.service and lircm.service have been replaced' + echo ' by the upstream unit files lircd.service and' + echo ' lircmd.service.' + fi +} Copied: lirc/repos/testing-x86_64/lirc.logrotate (from rev 270868, lirc/trunk/lirc.logrotate) =================================================================== --- testing-x86_64/lirc.logrotate (rev 0) +++ testing-x86_64/lirc.logrotate 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1,5 @@ +/var/log/lircd { + missingok + notifempty + delaycompress +} Copied: lirc/repos/testing-x86_64/lirc.tmpfiles (from rev 270868, lirc/trunk/lirc.tmpfiles) =================================================================== --- testing-x86_64/lirc.tmpfiles (rev 0) +++ testing-x86_64/lirc.tmpfiles 2016-07-02 22:22:19 UTC (rev 270869) @@ -0,0 +1 @@ +d /run/lirc 0755 root root -