summaryrefslogtreecommitdiff
path: root/extra/liblouis/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
committerroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
commit1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch)
tree2305b950a3c94970b05c1a38af473f5cca95af02 /extra/liblouis/PKGBUILD
parentb9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff)
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'extra/liblouis/PKGBUILD')
-rw-r--r--extra/liblouis/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/liblouis/PKGBUILD b/extra/liblouis/PKGBUILD
index d7a753f32..6502b4d6c 100644
--- a/extra/liblouis/PKGBUILD
+++ b/extra/liblouis/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 139381 2011-10-01 19:00:00Z ibiru $
+# $Id: PKGBUILD 176085 2013-01-27 11:24:27Z ioni $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=liblouis
-pkgver=2.3.0
+pkgver=2.5.2
pkgrel=1
pkgdesc="Open-source braille translator and back-translator"
arch=(i686 x86_64)
@@ -14,7 +14,7 @@ optdepends=('python2: for python bindings')
options=(!libtool)
install=liblouis.install
source=(http://liblouis.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-sha1sums=('f670c4fd845b3310ec02140fb26d912bdb1df356')
+sha1sums=(' 93437f3c3a9a178ad08bdf6daca2a82cf3df2cc2')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -29,5 +29,7 @@ package() {
cd python
LD_PRELOAD+=":$srcdir/$pkgname-$pkgver/liblouis/.libs/liblouis.so"
python2 setup.py install --root="$pkgdir" --prefix="/usr" --optimize=1
+
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "$pkgdir"/usr/bin/lou_harnessGenerator
}
# vim:set ts=2 sw=2 et: