void-packages/srcpkgs/qupzilla1/template
2017-04-11 18:54:36 +02:00

33 lines
1.1 KiB
Bash

# Template file for 'qupzilla1'
pkgname=qupzilla1
version=1.8.9
revision=7
wrksrc=QupZilla-${version}
build_style=qmake
hostmakedepends="pkg-config"
makedepends="qt5-script-devel qt5-tools-devel qt5-webkit-devel
qt5-x11extras-devel hunspell-devel"
depends="qt5-plugin-sqlite"
short_desc="Lightweight multiplatform browser"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://www.qupzilla.com/"
distfiles="https://github.com/QupZilla/qupzilla/releases/download/v${version}/QupZilla-${version}.tar.xz"
checksum=620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac
conflicts="qupzilla>=0"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
hostmakedepends+=" qt5-script-devel"
hostmakedepends+=" qt5-tools-devel"
hostmakedepends+=" qt5-webkit-devel"
hostmakedepends+=" qt5-x11extras-devel"
fi
do_build() {
# Avoid disable_parallel_build=yes by re-running make once
make ${makejobs} ${make_build_args} ${make_build_target} \
CC="$CC" CXX="$CXX" LINK="$CXX" || \
make ${makejobs} ${make_build_args} ${make_build_target} \
CC="$CC" CXX="$CXX" LINK="$CXX"
}