diff options
Diffstat (limited to 'extra/liblouis/PKGBUILD')
-rw-r--r-- | extra/liblouis/PKGBUILD | 8 |
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: |