summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-11-09 07:03:51 +0100
committerhaawda2018-11-09 07:03:51 +0100
commit0b01f60c05e65e44abf64e5f6e281fa68082fafb (patch)
treeff4202b73dae91d3f70d9be2b2b4590df3a39f3e
parente528e7ae23bb0de821c980e11c1458ba9c0d9b57 (diff)
downloadaur-0b01f60c05e65e44abf64e5f6e281fa68082fafb.tar.gz
do less in prepare function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 2 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ccb773e9bc..3e6bc5068aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = inkscape-092-git
pkgdesc = An Open Source vector graphics editor, using Scalable Vector Graphics (SVG) file format, from git branch 0.92.x
pkgver = 20181025.18310
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.com/inkscape/inkscape
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 4d6a54bd764..bb823347a7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=inkscape-092-git
pkgver=20181025.18310
-pkgrel=1
+pkgrel=2
pkgdesc="An Open Source vector graphics editor, using Scalable Vector Graphics (SVG) file format, from git branch 0.92.x"
url="https://gitlab.com/inkscape/inkscape"
arch=('i686' 'x86_64')
@@ -31,14 +31,9 @@ pkgver() {
prepare() {
cd "$_gitname"
- #fix for inkscape to use python2 with the python 3 package installed.
- sed -i 's|"python"|"python2"|g' src/main.cpp
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
sed -i -e 's|GBool|bool|g' -e 's|gTrue|true|g' -e 's|gFalse|false|g' src/extension/internal/pdfinput/pdf-parser.{h,cpp}
}