Date: Thursday, March 20, 2014 @ 09:17:17 Author: bpiotrowski Revision: 208240
archrelease: copy trunk to staging-i686, staging-x86_64 Added: brltty/repos/staging-i686/ brltty/repos/staging-i686/PKGBUILD (from rev 208239, brltty/trunk/PKGBUILD) brltty/repos/staging-i686/brltty.install (from rev 208239, brltty/trunk/brltty.install) brltty/repos/staging-i686/brltty.service (from rev 208239, brltty/trunk/brltty.service) brltty/repos/staging-x86_64/ brltty/repos/staging-x86_64/PKGBUILD (from rev 208239, brltty/trunk/PKGBUILD) brltty/repos/staging-x86_64/brltty.install (from rev 208239, brltty/trunk/brltty.install) brltty/repos/staging-x86_64/brltty.service (from rev 208239, brltty/trunk/brltty.service) -------------------------------+ staging-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++ staging-i686/brltty.install | 20 ++++++++++++++++ staging-i686/brltty.service | 12 +++++++++ staging-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++ staging-x86_64/brltty.install | 20 ++++++++++++++++ staging-x86_64/brltty.service | 12 +++++++++ 6 files changed, 164 insertions(+) Copied: brltty/repos/staging-i686/PKGBUILD (from rev 208239, brltty/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-03-20 08:17:17 UTC (rev 208240) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Tom Gundersen <t...@jklm.no> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> + +pkgname=brltty +pkgver=4.5 +pkgrel=7 +pkgdesc="Braille display driver for Linux/Unix" +arch=(i686 x86_64) +url="http://mielke.cc/brltty" +license=(GPL LGPL) +depends=(libxaw gpm icu tcl cython) +makedepends=(bluez-libs at-spi2-core tcl) +optdepends=('bluez-libs: bluetooth support' + 'at-spi2-core: X11/GNOME Apps accessibility' + 'atk: ATK bridge for X11/GNOME accessibility') +backup=(etc/brltty.conf) +options=('!emptydirs') +install=brltty.install +source=(https://github.com/brltty/brltty/archive/${pkgname^^}-$pkgver.tar.gz + brltty.service) + +prepare() { + cd $pkgname-${pkgname^^}-$pkgver + ./autogen +} + +build() { + cd $pkgname-${pkgname^^}-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --mandir=/usr/share/man \ + --with-tables-directory=/usr/share/brltty \ + --with-screen-driver=lx \ + --enable-gpm \ + --disable-java-bindings \ + --disable-static + + make +} + +package() { + cd $pkgname-${pkgname^^}-$pkgver + make INSTALL_ROOT="$pkgdir" install + install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf" + install -Dm644 ../brltty.service "$pkgdir/usr/lib/systemd/system/brltty.service" +} + +md5sums=('c21cfd64fd84b21739383e63e1ec81b3' + '0cad54bb5470122535f5e3a11d5ca123') Copied: brltty/repos/staging-i686/brltty.install (from rev 208239, brltty/trunk/brltty.install) =================================================================== --- staging-i686/brltty.install (rev 0) +++ staging-i686/brltty.install 2014-03-20 08:17:17 UTC (rev 208240) @@ -0,0 +1,20 @@ +post_install () { + getent group brlapi &>/dev/null || groupadd -r brlapi + if [ ! -e /etc/brlapi.key ]; then + mcookie >/etc/brlapi.key + chmod 0640 /etc/brlapi.key + chgrp brlapi /etc/brlapi.key + echo "Please add your user to the brlapi group." + fi +} + +post_upgrade () { + post_install +} + +post_remove () { + getent group brlapi >/dev/null 2>&1 && groupdel brlapi + if [ -e /etc/brlapi.key ]; then + rm -f /etc/brlapi.key + fi +} Copied: brltty/repos/staging-i686/brltty.service (from rev 208239, brltty/trunk/brltty.service) =================================================================== --- staging-i686/brltty.service (rev 0) +++ staging-i686/brltty.service 2014-03-20 08:17:17 UTC (rev 208240) @@ -0,0 +1,12 @@ +[Unit] +Description=Braille Console Driver +DefaultDependencies=no +Before=sysinit.target + +[Service] +ExecStart=/usr/bin/brltty --pid-file=/run/brltty.pid +Type=forking +PIDFile=/run/brltty.pid + +[Install] +WantedBy=sysinit.target Copied: brltty/repos/staging-x86_64/PKGBUILD (from rev 208239, brltty/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2014-03-20 08:17:17 UTC (rev 208240) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Tom Gundersen <t...@jklm.no> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> + +pkgname=brltty +pkgver=4.5 +pkgrel=7 +pkgdesc="Braille display driver for Linux/Unix" +arch=(i686 x86_64) +url="http://mielke.cc/brltty" +license=(GPL LGPL) +depends=(libxaw gpm icu tcl cython) +makedepends=(bluez-libs at-spi2-core tcl) +optdepends=('bluez-libs: bluetooth support' + 'at-spi2-core: X11/GNOME Apps accessibility' + 'atk: ATK bridge for X11/GNOME accessibility') +backup=(etc/brltty.conf) +options=('!emptydirs') +install=brltty.install +source=(https://github.com/brltty/brltty/archive/${pkgname^^}-$pkgver.tar.gz + brltty.service) + +prepare() { + cd $pkgname-${pkgname^^}-$pkgver + ./autogen +} + +build() { + cd $pkgname-${pkgname^^}-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --mandir=/usr/share/man \ + --with-tables-directory=/usr/share/brltty \ + --with-screen-driver=lx \ + --enable-gpm \ + --disable-java-bindings \ + --disable-static + + make +} + +package() { + cd $pkgname-${pkgname^^}-$pkgver + make INSTALL_ROOT="$pkgdir" install + install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf" + install -Dm644 ../brltty.service "$pkgdir/usr/lib/systemd/system/brltty.service" +} + +md5sums=('c21cfd64fd84b21739383e63e1ec81b3' + '0cad54bb5470122535f5e3a11d5ca123') Copied: brltty/repos/staging-x86_64/brltty.install (from rev 208239, brltty/trunk/brltty.install) =================================================================== --- staging-x86_64/brltty.install (rev 0) +++ staging-x86_64/brltty.install 2014-03-20 08:17:17 UTC (rev 208240) @@ -0,0 +1,20 @@ +post_install () { + getent group brlapi &>/dev/null || groupadd -r brlapi + if [ ! -e /etc/brlapi.key ]; then + mcookie >/etc/brlapi.key + chmod 0640 /etc/brlapi.key + chgrp brlapi /etc/brlapi.key + echo "Please add your user to the brlapi group." + fi +} + +post_upgrade () { + post_install +} + +post_remove () { + getent group brlapi >/dev/null 2>&1 && groupdel brlapi + if [ -e /etc/brlapi.key ]; then + rm -f /etc/brlapi.key + fi +} Copied: brltty/repos/staging-x86_64/brltty.service (from rev 208239, brltty/trunk/brltty.service) =================================================================== --- staging-x86_64/brltty.service (rev 0) +++ staging-x86_64/brltty.service 2014-03-20 08:17:17 UTC (rev 208240) @@ -0,0 +1,12 @@ +[Unit] +Description=Braille Console Driver +DefaultDependencies=no +Before=sysinit.target + +[Service] +ExecStart=/usr/bin/brltty --pid-file=/run/brltty.pid +Type=forking +PIDFile=/run/brltty.pid + +[Install] +WantedBy=sysinit.target