# $Id: PKGBUILD 211307 2014-04-18 17:28:08Z andyrtr $ # Maintainer: Tom Gundersen # Contributor: Jan de Groot # Contributor: Giovanni Scafora pkgname=brltty pkgver=4.5 pkgrel=8 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')