# Template file for 'qt5ct'
pkgname=qt5ct
version=0.36
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-tools"
makedepends="qt5-devel"
depends="qt5-svg"
short_desc="Qt5 Configuration Tool"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="BSD-2-Clause"
homepage="https://sourceforge.net/projects/qt5ct/"
distfiles="${SOURCEFORGE_SITE}/project/qt5ct/qt5ct-${version}.tar.bz2"
checksum=8fc3942f34d377af5533a0953cca633a7babc60c0476fd4318b617702183ee89

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-devel"
fi

post_install() {
	vlicense COPYING
	vinstall ${FILESDIR}/qt5ct.sh 644 etc/profile.d
}
