[arch-commits] Commit in brltty/repos (8 files)
Jan Steffens
heftig at nymeria.archlinux.org
Tue Apr 2 09:57:41 UTC 2013
Date: Tuesday, April 2, 2013 @ 11:57:41
Author: heftig
Revision: 181189
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
brltty/repos/gnome-unstable-i686/
brltty/repos/gnome-unstable-i686/PKGBUILD
(from rev 181188, brltty/trunk/PKGBUILD)
brltty/repos/gnome-unstable-i686/brltty.install
(from rev 181188, brltty/trunk/brltty.install)
brltty/repos/gnome-unstable-i686/brltty.service
(from rev 181188, brltty/trunk/brltty.service)
brltty/repos/gnome-unstable-x86_64/
brltty/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 181188, brltty/trunk/PKGBUILD)
brltty/repos/gnome-unstable-x86_64/brltty.install
(from rev 181188, brltty/trunk/brltty.install)
brltty/repos/gnome-unstable-x86_64/brltty.service
(from rev 181188, brltty/trunk/brltty.service)
--------------------------------------+
gnome-unstable-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++
gnome-unstable-i686/brltty.install | 20 ++++++++++++++++
gnome-unstable-i686/brltty.service | 12 +++++++++
gnome-unstable-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/brltty.install | 20 ++++++++++++++++
gnome-unstable-x86_64/brltty.service | 12 +++++++++
6 files changed, 146 insertions(+)
Copied: brltty/repos/gnome-unstable-i686/PKGBUILD (from rev 181188, brltty/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2013-04-02 09:57:41 UTC (rev 181189)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=4.5
+pkgrel=1
+pkgdesc="Braille display driver for Linux/Unix"
+arch=(i686 x86_64)
+url="http://mielke.cc/brltty"
+license=(GPL LGPL)
+depends=(libxaw at-spi2-core gpm 'icu>=51.1' tcl atk cython)
+makedepends=(bluez)
+optdepends=('bluez: bluetooth support')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz
+ brltty.service)
+md5sums=('7b52fa7746fed41ed344a1f75ce55951'
+ '7acecd700b9f94d76fe4a6ad56cb0448')
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --with-tables-directory=/usr/share/brltty \
+ --with-screen-driver=a2 \
+ --enable-gpm \
+ --disable-java-bindings \
+ --disable-static
+
+ make
+}
+
+package() {
+ cd $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"
+}
Copied: brltty/repos/gnome-unstable-i686/brltty.install (from rev 181188, brltty/trunk/brltty.install)
===================================================================
--- gnome-unstable-i686/brltty.install (rev 0)
+++ gnome-unstable-i686/brltty.install 2013-04-02 09:57:41 UTC (rev 181189)
@@ -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/gnome-unstable-i686/brltty.service (from rev 181188, brltty/trunk/brltty.service)
===================================================================
--- gnome-unstable-i686/brltty.service (rev 0)
+++ gnome-unstable-i686/brltty.service 2013-04-02 09:57:41 UTC (rev 181189)
@@ -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=multi-user.target
Copied: brltty/repos/gnome-unstable-x86_64/PKGBUILD (from rev 181188, brltty/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2013-04-02 09:57:41 UTC (rev 181189)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=4.5
+pkgrel=1
+pkgdesc="Braille display driver for Linux/Unix"
+arch=(i686 x86_64)
+url="http://mielke.cc/brltty"
+license=(GPL LGPL)
+depends=(libxaw at-spi2-core gpm 'icu>=51.1' tcl atk cython)
+makedepends=(bluez)
+optdepends=('bluez: bluetooth support')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz
+ brltty.service)
+md5sums=('7b52fa7746fed41ed344a1f75ce55951'
+ '7acecd700b9f94d76fe4a6ad56cb0448')
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --with-tables-directory=/usr/share/brltty \
+ --with-screen-driver=a2 \
+ --enable-gpm \
+ --disable-java-bindings \
+ --disable-static
+
+ make
+}
+
+package() {
+ cd $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"
+}
Copied: brltty/repos/gnome-unstable-x86_64/brltty.install (from rev 181188, brltty/trunk/brltty.install)
===================================================================
--- gnome-unstable-x86_64/brltty.install (rev 0)
+++ gnome-unstable-x86_64/brltty.install 2013-04-02 09:57:41 UTC (rev 181189)
@@ -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/gnome-unstable-x86_64/brltty.service (from rev 181188, brltty/trunk/brltty.service)
===================================================================
--- gnome-unstable-x86_64/brltty.service (rev 0)
+++ gnome-unstable-x86_64/brltty.service 2013-04-02 09:57:41 UTC (rev 181189)
@@ -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=multi-user.target
More information about the arch-commits
mailing list