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

Lukas Fleischer lfleischer at archlinux.org
Tue Feb 17 21:20:29 UTC 2015


    Date: Tuesday, February 17, 2015 @ 22:20:29
  Author: lfleischer
Revision: 231663

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

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

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

Copied: lirc/repos/community-i686/PKGBUILD (from rev 231662, lirc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-17 21:20:29 UTC (rev 231663)
@@ -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=1
+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/community-i686/lirc.install (from rev 231662, lirc/trunk/lirc.install)
===================================================================
--- community-i686/lirc.install	                        (rev 0)
+++ community-i686/lirc.install	2015-02-17 21:20:29 UTC (rev 231663)
@@ -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/community-i686/lirc.logrotate (from rev 231662, lirc/trunk/lirc.logrotate)
===================================================================
--- community-i686/lirc.logrotate	                        (rev 0)
+++ community-i686/lirc.logrotate	2015-02-17 21:20:29 UTC (rev 231663)
@@ -0,0 +1,5 @@
+/var/log/lircd {
+   missingok
+   notifempty
+   delaycompress
+}

Copied: lirc/repos/community-i686/lirc.tmpfiles (from rev 231662, lirc/trunk/lirc.tmpfiles)
===================================================================
--- community-i686/lirc.tmpfiles	                        (rev 0)
+++ community-i686/lirc.tmpfiles	2015-02-17 21:20:29 UTC (rev 231663)
@@ -0,0 +1 @@
+d /run/lirc 0755 root root -

Copied: lirc/repos/community-x86_64/PKGBUILD (from rev 231662, lirc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-17 21:20:29 UTC (rev 231663)
@@ -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=1
+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/community-x86_64/lirc.install (from rev 231662, lirc/trunk/lirc.install)
===================================================================
--- community-x86_64/lirc.install	                        (rev 0)
+++ community-x86_64/lirc.install	2015-02-17 21:20:29 UTC (rev 231663)
@@ -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/community-x86_64/lirc.logrotate (from rev 231662, lirc/trunk/lirc.logrotate)
===================================================================
--- community-x86_64/lirc.logrotate	                        (rev 0)
+++ community-x86_64/lirc.logrotate	2015-02-17 21:20:29 UTC (rev 231663)
@@ -0,0 +1,5 @@
+/var/log/lircd {
+   missingok
+   notifempty
+   delaycompress
+}

Copied: lirc/repos/community-x86_64/lirc.tmpfiles (from rev 231662, lirc/trunk/lirc.tmpfiles)
===================================================================
--- community-x86_64/lirc.tmpfiles	                        (rev 0)
+++ community-x86_64/lirc.tmpfiles	2015-02-17 21:20:29 UTC (rev 231663)
@@ -0,0 +1 @@
+d /run/lirc 0755 root root -



More information about the arch-commits mailing list