diff options
author | haawda | 2017-11-22 22:22:35 +0100 |
---|---|---|
committer | haawda | 2017-11-22 22:22:35 +0100 |
commit | 776ffd13839185fcf8cf1c9b552679f341287195 (patch) | |
tree | 523f66835aede45fafbb1b7b6b38b87a2b38df6d | |
parent | fbecd0a617c713d044073b4f7580b2dfa95505f6 (diff) | |
download | aur-776ffd13839185fcf8cf1c9b552679f341287195.tar.gz |
fix python stuff
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Wed Nov 22 14:36:50 UTC 2017 pkgbase = inkscape-git pkgdesc = An Open Source vector graphics editor, using SVG file format, from git master pkgver = 20171122.19779 - pkgrel = 1 + pkgrel = 2 url = https://launchpad.net/inkscape arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ pkgname=inkscape-git pkgver=20171122.19779 -pkgrel=1 +pkgrel=2 pkgdesc="An Open Source vector graphics editor, using SVG file format, from git master" url="https://launchpad.net/inkscape" arch=('i686' 'x86_64') @@ -35,6 +35,9 @@ prepare() { find share -type f -name "*.py" -exec \ sed -i '1s|/usr/bin/env python\>|/usr/bin/env python2|g' {} \; sed -i '1s|/usr/bin/env python3\>|/usr/bin/env python2|g' CMakeScripts/cmake_consistency_check.py + sed -i 's|/usr/bin/env python\>|/usr/bin/env python2|g' share/*/{test/,}*.py + sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp + sed -i 's|"python"|"python2"|g' src/main.cpp } build() { |