[arch-commits] Commit in liblouis/trunk (PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Sun Mar 31 08:38:35 UTC 2013
Date: Sunday, March 31, 2013 @ 10:38:35
Author: heftig
Revision: 181071
add python3 bindings
Modified:
liblouis/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-31 08:09:15 UTC (rev 181070)
+++ PKGBUILD 2013-03-31 08:38:35 UTC (rev 181071)
@@ -3,14 +3,13 @@
pkgname=liblouis
pkgver=2.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="Open-source braille translator and back-translator"
arch=(i686 x86_64)
url="http://code.google.com/p/liblouis/"
license=('GPL3')
depends=(glibc)
-makedepends=(help2man python2)
-optdepends=('python2: for python bindings')
+makedepends=(help2man python2 python)
options=(!libtool)
install=liblouis.install
source=(http://liblouis.googlecode.com/files/$pkgname-$pkgver.tar.gz)
@@ -29,7 +28,6 @@
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
+ python setup.py install --root="$pkgdir" --prefix="/usr" --optimize=1
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list