summaryrefslogtreecommitdiff
path: root/extra/brltty
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-02 13:15:07 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-02 13:15:07 -0300
commit399a563eb2c30475d66ced8203aff23d65e540e8 (patch)
treefc3d829608b2434293be837200a8267ca789342e /extra/brltty
parent3aff11a8581ae7e5a8ccea02062cd92f873c44c5 (diff)
parent941550cbc215d608bd18439f99500b74fbb80f0d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/yagf/PKGBUILD extra/antlr2/PKGBUILD gnome-unstable/baobab/PKGBUILD gnome-unstable/baobab/baobab.install testing/iputils/PKGBUILD testing/iputils/iputils.install
Diffstat (limited to 'extra/brltty')
-rw-r--r--extra/brltty/PKGBUILD15
-rw-r--r--extra/brltty/brltty.service12
2 files changed, 21 insertions, 6 deletions
diff --git a/extra/brltty/PKGBUILD b/extra/brltty/PKGBUILD
index e75b92674..83702c08c 100644
--- a/extra/brltty/PKGBUILD
+++ b/extra/brltty/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 156715 2012-04-23 09:03:46Z ibiru $
+# $Id: PKGBUILD 167366 2012-10-01 15:08:16Z tomegun $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=brltty
pkgver=4.3
-pkgrel=5
+pkgrel=6
pkgdesc="Braille display driver for Linux/Unix"
arch=('i686' 'x86_64' 'mips64el')
url="http://mielke.cc/brltty"
@@ -18,10 +18,8 @@ options=('!makeflags' '!emptydirs')
install=brltty.install
source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz
'brltty'
- 'brltty.conf')
-md5sums=('5ada573f88df32b6150db3b9a620e20b'
- '831ebaf0c56091702929c68805d20c4f'
- 'a8ab8b3dd059e96e1734bc9cdcf844fc')
+ 'brltty.conf'
+ 'brltty.service')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -44,4 +42,9 @@ package() {
install -D -m755 "$srcdir/brltty" "$pkgdir/etc/rc.d/brltty"
install -D -m644 "$srcdir/brltty.conf" "$pkgdir/etc/conf.d/brltty.conf"
install -D -m644 Documents/brltty.conf "$pkgdir/etc/brltty.conf"
+ install -D -m644 "$srcdir/brltty.service" "$pkgdir/usr/lib/systemd/system/brltty.service"
}
+md5sums=('5ada573f88df32b6150db3b9a620e20b'
+ '831ebaf0c56091702929c68805d20c4f'
+ 'a8ab8b3dd059e96e1734bc9cdcf844fc'
+ '7acecd700b9f94d76fe4a6ad56cb0448')
diff --git a/extra/brltty/brltty.service b/extra/brltty/brltty.service
new file mode 100644
index 000000000..1b9d55e32
--- /dev/null
+++ b/extra/brltty/brltty.service
@@ -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