Date: Sunday, September 25, 2016 @ 14:39:39 Author: felixonmars Revision: 190545
upgpkg: python-chameleon 2.25-1 Modified: python-chameleon/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-25 14:37:52 UTC (rev 190544) +++ PKGBUILD 2016-09-25 14:39:39 UTC (rev 190545) @@ -3,7 +3,7 @@ pkgbase=python-chameleon pkgname=('python-chameleon' 'python2-chameleon') -pkgver=2.24 +pkgver=2.25 pkgrel=1 pkgdesc="Fast HTML/XML Template Compiler" arch=('any') @@ -18,18 +18,18 @@ } build() { - cd "$srcdir/chameleon" + cd "$srcdir"/chameleon python setup.py build - cd "$srcdir/chameleon-py2" + cd "$srcdir"/chameleon-py2 python2 setup.py build } check() { - cd "$srcdir/chameleon" + cd "$srcdir"/chameleon python setup.py test - cd "$srcdir/chameleon-py2" + cd "$srcdir"/chameleon-py2 python2 setup.py test } @@ -37,8 +37,8 @@ depends=('python') cd chameleon - python setup.py install --root="${pkgdir}" --optimize=1 - install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt } package_python2-chameleon() { @@ -45,6 +45,6 @@ depends=('python2') cd chameleon-py2 - python2 setup.py install --root="${pkgdir}" --optimize=1 - install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt }