python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / qupzilla1 / template
blob51467348c62a04ce8ac5590d51d3d48141e36f21
1 # Template file for 'qupzilla1'
2 pkgname=qupzilla1
3 version=1.8.9
4 revision=9
5 wrksrc=QupZilla-${version}
6 build_style=qmake
7 hostmakedepends="pkg-config"
8 makedepends="qt5-script-devel qt5-tools-devel qt5-webkit-devel
9  qt5-x11extras-devel hunspell-devel"
10 depends="qt5-plugin-sqlite"
11 short_desc="Lightweight multiplatform browser"
12 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
13 license="GPL-3"
14 homepage="http://www.qupzilla.com/"
15 distfiles="https://github.com/QupZilla/qupzilla/releases/download/v${version}/QupZilla-${version}.tar.xz"
16 checksum=620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac
17 conflicts="qupzilla>=0"
19 if [ -n "$CROSS_BUILD" ]; then
20         hostmakedepends+=" qt5-host-tools"
21         hostmakedepends+=" qt5-script-devel"
22         hostmakedepends+=" qt5-tools-devel"
23         hostmakedepends+=" qt5-webkit-devel"
24         hostmakedepends+=" qt5-x11extras-devel"
27 do_build() {
28         # Avoid disable_parallel_build=yes by re-running make once
29         make ${makejobs} ${make_build_args} ${make_build_target} \
30                 CC="$CC" CXX="$CXX" LINK="$CXX" || \
31         make ${makejobs} ${make_build_args} ${make_build_target} \
32                 CC="$CC" CXX="$CXX" LINK="$CXX"