Date: Sunday, December 21, 2014 @ 16:48:53 Author: lfleischer Revision: 227896
upgpkg: translate-toolkit 1.12.0-1 Upstream update. Modified: translate-toolkit/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-12-21 15:47:21 UTC (rev 227895) +++ PKGBUILD 2014-12-21 15:48:53 UTC (rev 227896) @@ -1,22 +1,25 @@ # $Id$ -# Maintainer: Andrea Scarpino <[email protected]> +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Andrea Scarpino <[email protected]> # Contributor: Jaroslav Lichtblau <[email protected]> # Contributor: Hugo Doria <hugodoria at gmail.com> pkgname=translate-toolkit -pkgver=1.11.0 -pkgrel=2 +pkgver=1.12.0 +pkgrel=1 pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations" arch=('any') url="http://translate.sourceforge.net/wiki/toolkit/index" license=('GPL') -depends=('bash' 'python2-lxml') +depends=('bash' 'python2-lxml' 'python2-six') +makedepends=('python2-setuptools') optdepends=('python2-iniparse: to use ini2po script') source=("http://downloads.sourceforge.net/translate/${pkgname}-${pkgver}.tar.bz2") -md5sums=('69c5df09b83fdbf448c3446b6cf22098') +md5sums=('dfaff8943930b3f856c3abc3d2374a71') package() { cd ${pkgname}-${pkgver} + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ -e "s|/usr/bin/python2.4|/usr/bin/python2|" \ @@ -23,6 +26,5 @@ $(find . -name '*.py') python2 -s setup.py install --root="${pkgdir}" --optimize=1 - mv "${pkgdir}"/usr/lib/python2.7/site-packages/{docs,share} "${pkgdir}"/usr/lib/python2.7/site-packages/translate python2 -m compileall "${pkgdir}"/usr/lib/python2.7/site-packages/translate }
