summaryrefslogtreecommitdiff
path: root/extra/brltty/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/brltty/PKGBUILD')
-rw-r--r--extra/brltty/PKGBUILD44
1 files changed, 18 insertions, 26 deletions
diff --git a/extra/brltty/PKGBUILD b/extra/brltty/PKGBUILD
index 1405c33f0..c86f5b324 100644
--- a/extra/brltty/PKGBUILD
+++ b/extra/brltty/PKGBUILD
@@ -1,49 +1,41 @@
-# $Id: PKGBUILD 180801 2013-03-26 11:49:28Z foutrelis $
+# $Id: PKGBUILD 183336 2013-04-21 22:08:36Z heftig $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=brltty
-pkgver=4.4
-pkgrel=4
+pkgver=4.5
+pkgrel=1
pkgdesc="Braille display driver for Linux/Unix"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://mielke.cc/brltty"
-license=('GPL' 'LGPL')
-depends=('libxaw' 'at-spi2-core' 'gpm' 'icu>=51.1' 'tcl' 'atk' 'pyrex')
-makedepends=('bluez')
+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 etc/conf.d/brltty.conf)
-options=('!makeflags' '!emptydirs')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
install=brltty.install
source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz
- 'brltty'
- 'brltty.conf'
- 'brltty.service')
-md5sums=('8ebe96efe679f5f6ccff08928fec5b26'
- '831ebaf0c56091702929c68805d20c4f'
- 'a8ab8b3dd059e96e1734bc9cdcf844fc'
+ brltty.service)
+md5sums=('7b52fa7746fed41ed344a1f75ce55951'
'7acecd700b9f94d76fe4a6ad56cb0448')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|/usr/bin/python|/usr/bin/python2|' Tables/latex-access.ctb
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--mandir=/usr/share/man \
- --localstatedir=/var \
+ --with-tables-directory=/usr/share/brltty \
--with-screen-driver=a2 \
--enable-gpm \
--disable-java-bindings \
- PYTHON=/usr/bin/python2
+ --disable-static
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $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"
+ install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf"
+ install -Dm644 ../brltty.service "$pkgdir/usr/lib/systemd/system/brltty.service"
}