diff options
author | Florian Bruhin <git@the-compiler.org> | 2015-02-03 19:01:44 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2015-02-03 19:01:44 +0100 |
commit | 9d2fff05d0fda0e422d0c4e030f2fd3a0d9fdb57 (patch) | |
tree | f1da8e13c60ae245e92fd765baa7aad51c841c25 | |
parent | cece52feb2cda836b2a43c6dcbfcce7424402e99 (diff) | |
download | qt-debug-pkgbuild-9d2fff05d0fda0e422d0c4e030f2fd3a0d9fdb57.tar.gz qt-debug-pkgbuild-9d2fff05d0fda0e422d0c4e030f2fd3a0d9fdb57.zip |
Update build.sh
-rwxr-xr-x | build.sh | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -2,24 +2,24 @@ set -e dir="$PWD" -outdir=/srv/http/qutebrowser/qt-debug +outdir=/srv/http/qutebrowser/qt-debug/x86_64 -export DEBUG_CFLAGS='-ggdb3 -fvar-tracking-assignments -Og' -export DEBUG_CXXFLAGS='-ggdb3 -fvar-tracking-assignments -Og' -export PKGEXT='.pkg.tar.xz' -export BUILDENV=(!distcc color ccache check sign) -export GPGKEY="0xE80A0C82" +if [[ $1 == repackage ]]; then + makepkg_opts=('-siR' '--config' "$dir/makepkg.conf") +else + makepkg_opts=('-si' '--config' "$dir/makepkg.conf") +fi cd "$dir/qt5" rm *.pkg.tar* || true rm -r src/python2-path || true -makepkg -si -cp *.pkg.tar.xz "$outdir" +makepkg "${makepkg_opts[@]}" +mv *.pkg.tar.xz* "$outdir" cd "$dir/pyqt5" rm *.pkg.tar* || true -makepkg -si -cp *.pkg.tar.xz "$outdir" +makepkg "${makepkg_opts[@]}" +mv *.pkg.tar.xz* "$outdir" repo-add "$outdir/qt-debug.db.tar.gz" "$outdir"/*.pkg.tar.xz |