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

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

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