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

Andrea Scarpino andrea at archlinux.org
Mon Dec 6 16:20:30 UTC 2010


    Date: Monday, December 6, 2010 @ 11:20:30
  Author: andrea
Revision: 102193

upgpkg: brltty 4.2-3
icu rebuild

Modified:
  brltty/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-06 15:30:51 UTC (rev 102192)
+++ PKGBUILD	2010-12-06 16:20:30 UTC (rev 102193)
@@ -4,7 +4,7 @@
 
 pkgname=brltty
 pkgver=4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Braille display driver for Linux/Unix"
 arch=('i686' 'x86_64')
 url="http://mielke.cc/brltty"
@@ -15,9 +15,9 @@
 backup=(etc/brltty.conf etc/conf.d/brltty.conf)
 options=('!makeflags' '!emptydirs')
 source=(http://mielke.cc/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz
-	brltty-4.2-S_ISCHR.patch
-	brltty
-	brltty.conf)
+        'brltty-4.2-S_ISCHR.patch'
+        'brltty'
+        'brltty.conf')
 md5sums=('192af5e634210616928496645e392097'
          '5954b289efaf2ff17676d06de9a88854'
          '831ebaf0c56091702929c68805d20c4f'
@@ -27,21 +27,22 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   CFLAGS+="${CFLAGS} -D_GNU_SOURCE" \
   ./configure --prefix=/usr \
-              --sysconfdir=/etc \
-              --mandir=/usr/share/man \
-              --localstatedir=/var \
-              --enable-gpm \
-              --disable-java-bindings \
-	      --disable-caml-bindings \
-              PYTHON=/usr/bin/python2
+    --sysconfdir=/etc \
+    --mandir=/usr/share/man \
+    --localstatedir=/var \
+    --enable-gpm \
+    --disable-java-bindings \
+    --disable-caml-bindings \
+    PYTHON=/usr/bin/python2
+
   patch -Np1 -i ${srcdir}/brltty-4.2-S_ISCHR.patch
-  make || return 1
+  make
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make INSTALL_ROOT="${pkgdir}" install
-  install -D -m 755 ${srcdir}/brltty ${pkgdir}/etc/rc.d/brltty
-  install -D -m 644 ${srcdir}/brltty.conf ${pkgdir}/etc/conf.d/brltty.conf
-  install -D -m 644 Documents/brltty.conf ${pkgdir}/etc/brltty.conf
+  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