diff options
author | Félix Piédallu | 2015-09-07 00:53:26 +0200 |
---|---|---|
committer | Félix Piédallu | 2015-09-07 00:53:26 +0200 |
commit | fb561099b4a1a7ec7776c5292e10941b398f82e9 (patch) | |
tree | e7a447f2881060b8808cf6e52c34625c99f983ee | |
parent | 98a347ccc536d6c3ad9127662b617e1b226ffe6f (diff) | |
download | aur-fb561099b4a1a7ec7776c5292e10941b398f82e9.tar.gz |
added sed and all…… Works fine now.
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -32,6 +32,9 @@ build() { virtualenv python2 --python=python2 source python2/bin/activate + # This is needed because of the FORTIFY_SOURCE=2 of makepkg. + unset CPPFLAGS + cd "$_gitname" # CheckEnv.py @@ -45,12 +48,14 @@ build() { #return 1 fi - # Compiling + # Download the sources + ./SDK3Build.py -t Unix --none - # This is needed because of the FORTIFY_SOURCE=2 of makepkg. - unset CPPFLAGS + # Replace json/json.h with json-c/json.h + sed -i 's#json/json.h#json-c/json.h#g' `find .. -name "*.c" -o -name "*.h"` - ./SDK3Build.py -t Unix + # Build the sources + ./SDK3Build.py -t Unix --nogit # Use Python2 instead of Python deactivate |