aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
blob: 801b05ade9c6cbc1f9b5fee2a993403df9e6dd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

set -e
dir="$PWD"
outdir=/srv/http/qutebrowser/qt-debug

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"

cd "$dir/qt5"
rm *.pkg.tar* || true
rm -r src/python2-path || true
makepkg -si
cp *.pkg.tar.xz "$outdir"

cd "$dir/pyqt5"
rm *.pkg.tar* || true
makepkg -si
cp *.pkg.tar.xz "$outdir"

repo-add "$outdir/qt-debug.db.tar.gz" "$outdir"/*.pkg.tar.xz

cd "$dir"