[arch-commits] Commit in lirc/repos (10 files)

Allan McRae allan at archlinux.org
Mon Sep 21 07:55:19 UTC 2015


    Date: Monday, September 21, 2015 @ 09:55:18
  Author: allan
Revision: 247030

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  lirc/repos/staging-i686/
  lirc/repos/staging-i686/PKGBUILD
    (from rev 247029, lirc/trunk/PKGBUILD)
  lirc/repos/staging-i686/lirc.install
    (from rev 247029, lirc/trunk/lirc.install)
  lirc/repos/staging-i686/lirc.logrotate
    (from rev 247029, lirc/trunk/lirc.logrotate)
  lirc/repos/staging-i686/lirc.tmpfiles
    (from rev 247029, lirc/trunk/lirc.tmpfiles)
  lirc/repos/staging-x86_64/
  lirc/repos/staging-x86_64/PKGBUILD
    (from rev 247029, lirc/trunk/PKGBUILD)
  lirc/repos/staging-x86_64/lirc.install
    (from rev 247029, lirc/trunk/lirc.install)
  lirc/repos/staging-x86_64/lirc.logrotate
    (from rev 247029, lirc/trunk/lirc.logrotate)
  lirc/repos/staging-x86_64/lirc.tmpfiles
    (from rev 247029, lirc/trunk/lirc.tmpfiles)

-------------------------------+
 staging-i686/PKGBUILD         |   45 ++++++++++++++++++++++++++++++++++++++++
 staging-i686/lirc.install     |   13 +++++++++++
 staging-i686/lirc.logrotate   |    5 ++++
 staging-i686/lirc.tmpfiles    |    1 
 staging-x86_64/PKGBUILD       |   45 ++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/lirc.install   |   13 +++++++++++
 staging-x86_64/lirc.logrotate |    5 ++++
 staging-x86_64/lirc.tmpfiles  |    1 
 8 files changed, 128 insertions(+)

Copied: lirc/repos/staging-i686/PKGBUILD (from rev 247029, lirc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-21 07:55:18 UTC (rev 247030)
@@ -0,0 +1,45 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=lirc
+_pkgver=0.9.2a
+[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
+pkgrel=2
+epoch=1
+pkgdesc="Linux Infrared Remote Control utils"
+arch=('i686' 'x86_64')
+url="http://www.lirc.org/"
+license=('GPL')
+depends=('alsa-lib' 'libx11' 'libftdi-compat' 'libirman')
+makedepends=('help2man' 'alsa-lib' 'libx11' 'libftdi-compat' 'libirman' '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=('639a14ed0b3b34ae227a047b952ea368'
+         '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/staging-i686/lirc.install (from rev 247029, lirc/trunk/lirc.install)
===================================================================
--- staging-i686/lirc.install	                        (rev 0)
+++ staging-i686/lirc.install	2015-09-21 07:55:18 UTC (rev 247030)
@@ -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/staging-i686/lirc.logrotate (from rev 247029, lirc/trunk/lirc.logrotate)
===================================================================
--- staging-i686/lirc.logrotate	                        (rev 0)
+++ staging-i686/lirc.logrotate	2015-09-21 07:55:18 UTC (rev 247030)
@@ -0,0 +1,5 @@
+/var/log/lircd {
+   missingok
+   notifempty
+   delaycompress
+}

Copied: lirc/repos/staging-i686/lirc.tmpfiles (from rev 247029, lirc/trunk/lirc.tmpfiles)
===================================================================
--- staging-i686/lirc.tmpfiles	                        (rev 0)
+++ staging-i686/lirc.tmpfiles	2015-09-21 07:55:18 UTC (rev 247030)
@@ -0,0 +1 @@
+d /run/lirc 0755 root root -

Copied: lirc/repos/staging-x86_64/PKGBUILD (from rev 247029, lirc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-21 07:55:18 UTC (rev 247030)
@@ -0,0 +1,45 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=lirc
+_pkgver=0.9.2a
+[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
+pkgrel=2
+epoch=1
+pkgdesc="Linux Infrared Remote Control utils"
+arch=('i686' 'x86_64')
+url="http://www.lirc.org/"
+license=('GPL')
+depends=('alsa-lib' 'libx11' 'libftdi-compat' 'libirman')
+makedepends=('help2man' 'alsa-lib' 'libx11' 'libftdi-compat' 'libirman' '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=('639a14ed0b3b34ae227a047b952ea368'
+         '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/staging-x86_64/lirc.install (from rev 247029, lirc/trunk/lirc.install)
===================================================================
--- staging-x86_64/lirc.install	                        (rev 0)
+++ staging-x86_64/lirc.install	2015-09-21 07:55:18 UTC (rev 247030)
@@ -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/staging-x86_64/lirc.logrotate (from rev 247029, lirc/trunk/lirc.logrotate)
===================================================================
--- staging-x86_64/lirc.logrotate	                        (rev 0)
+++ staging-x86_64/lirc.logrotate	2015-09-21 07:55:18 UTC (rev 247030)
@@ -0,0 +1,5 @@
+/var/log/lircd {
+   missingok
+   notifempty
+   delaycompress
+}

Copied: lirc/repos/staging-x86_64/lirc.tmpfiles (from rev 247029, lirc/trunk/lirc.tmpfiles)
===================================================================
--- staging-x86_64/lirc.tmpfiles	                        (rev 0)
+++ staging-x86_64/lirc.tmpfiles	2015-09-21 07:55:18 UTC (rev 247030)
@@ -0,0 +1 @@
+d /run/lirc 0755 root root -



More information about the arch-commits mailing list