[arch-commits] Commit in brltty/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Mon Feb 13 06:00:15 EST 2012


    Date: Monday, February 13, 2012 @ 06:00:14
  Author: ibiru
Revision: 150134

switch to at-spi2, add missing dependency. FS#28394

Modified:
  brltty/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-13 10:09:13 UTC (rev 150133)
+++ PKGBUILD	2012-02-13 11:00:14 UTC (rev 150134)
@@ -5,17 +5,17 @@
 
 pkgname=brltty
 pkgver=4.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Braille display driver for Linux/Unix"
 arch=('i686' 'x86_64')
 url="http://mielke.cc/brltty"
 license=('GPL' 'LGPL')
-depends=('libxaw' 'at-spi' 'gpm' 'icu' 'python2' 'tcl' 'atk' 'libxtst')
-makedepends=('pyrex' 'bluez')
+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')
-source=(http://mielke.cc/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz
+source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz
         'brltty'
         'brltty.conf')
 md5sums=('5ada573f88df32b6150db3b9a620e20b'
@@ -23,12 +23,12 @@
          'a8ab8b3dd059e96e1734bc9cdcf844fc')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  CFLAGS+="${CFLAGS} -D_GNU_SOURCE" \
+  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 \
@@ -38,9 +38,9 @@
 }
 
 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
+  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"
 }



More information about the arch-commits mailing list