summaryrefslogtreecommitdiff
path: root/testing/brltty/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-27 00:42:08 -0700
committerroot <root@rshg054.dnsready.net>2012-09-27 00:42:08 -0700
commitbd8faf795abf6d91abdc52bc968829cc2efae4bb (patch)
treec073a5288d3917e9aa98d3762479ad083c5ceafe /testing/brltty/PKGBUILD
parent483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (diff)
Thu Sep 27 00:42:07 PDT 2012
Diffstat (limited to 'testing/brltty/PKGBUILD')
-rw-r--r--testing/brltty/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/brltty/PKGBUILD b/testing/brltty/PKGBUILD
new file mode 100644
index 000000000..76d9f9466
--- /dev/null
+++ b/testing/brltty/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 167187 2012-09-26 22:24:47Z tomegun $
+# Maintainer:
+# Contributor: Jan de Groot <jgc@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=brltty
+pkgver=4.3
+pkgrel=6
+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' 'python2' 'tcl' 'atk' 'libxtst' 'pyrex')
+makedepends=('bluez')
+optdepends=('bluez: bluetooth support')
+backup=(etc/brltty.conf etc/conf.d/brltty.conf)
+options=('!makeflags' '!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz
+ 'brltty'
+ 'brltty.conf'
+ 'brltty.service')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-screen-driver=a2 \
+ --enable-gpm \
+ --disable-java-bindings \
+ --disable-caml-bindings \
+ PYTHON=/usr/bin/python2
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make INSTALL_ROOT="$pkgdir" install
+ 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')