[arch-commits] Commit in brltty/repos (5 files)
Felix Yan
felixonmars at archlinux.org
Fri Apr 5 14:37:17 UTC 2019
Date: Friday, April 5, 2019 @ 14:37:15
Author: felixonmars
Revision: 350127
archrelease: copy trunk to staging-x86_64
Added:
brltty/repos/staging-x86_64/
brltty/repos/staging-x86_64/PKGBUILD
(from rev 350126, brltty/trunk/PKGBUILD)
brltty/repos/staging-x86_64/brltty.install
(from rev 350126, brltty/trunk/brltty.install)
brltty/repos/staging-x86_64/brltty.service
(from rev 350126, brltty/trunk/brltty.service)
brltty/repos/staging-x86_64/brltty.sysusers
(from rev 350126, brltty/trunk/brltty.sysusers)
-----------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
brltty.install | 12 ++++++++++++
brltty.service | 12 ++++++++++++
brltty.sysusers | 1 +
4 files changed, 71 insertions(+)
Copied: brltty/repos/staging-x86_64/PKGBUILD (from rev 350126, brltty/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-04-05 14:37:15 UTC (rev 350127)
@@ -0,0 +1,46 @@
+# Maintainer:
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=6.0
+pkgrel=2
+pkgdesc="Braille display driver for Linux/Unix"
+arch=(x86_64)
+url="http://mielke.cc/brltty"
+license=(GPL LGPL)
+depends=(libxaw gpm icu tcl bluez-libs)
+makedepends=(at-spi2-core tcl speech-dispatcher cython espeak)
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+ 'atk: ATK bridge for X11/GNOME accessibility'
+ 'speech-dispatcher: speech-dispatcher driver'
+ 'espeak: espeak driver')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/brltty/archive/brltty-$pkgver.tar.xz
+ brltty.service brltty.sysusers)
+sha256sums=('cfa80c2d171a4d92d7a327b1942e6fc463669b1c3bb658bfb3323b723f9096f7'
+ 'a342a5e9d36f00a320e1d23d91c482bd5445af52588334307b7e9c09a8cc38ec'
+ '0df1ab5cca644c6deb1090976a4e459243c15668fd5c3bafb278aa629878ec07')
+
+build() {
+ cd $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 \
+
+ 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"
+ install -Dm644 ../brltty.sysusers "$pkgdir"/usr/lib/sysusers.d/brltty.conf
+}
Copied: brltty/repos/staging-x86_64/brltty.install (from rev 350126, brltty/trunk/brltty.install)
===================================================================
--- staging-x86_64/brltty.install (rev 0)
+++ staging-x86_64/brltty.install 2019-04-05 14:37:15 UTC (rev 350127)
@@ -0,0 +1,12 @@
+post_install () {
+ 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
+}
Copied: brltty/repos/staging-x86_64/brltty.service (from rev 350126, brltty/trunk/brltty.service)
===================================================================
--- staging-x86_64/brltty.service (rev 0)
+++ staging-x86_64/brltty.service 2019-04-05 14:37:15 UTC (rev 350127)
@@ -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/brltty.sysusers (from rev 350126, brltty/trunk/brltty.sysusers)
===================================================================
--- staging-x86_64/brltty.sysusers (rev 0)
+++ staging-x86_64/brltty.sysusers 2019-04-05 14:37:15 UTC (rev 350127)
@@ -0,0 +1 @@
+g brlapi -
More information about the arch-commits
mailing list