# Template file for 'qtchooser'
pkgname=qtchooser
version=20150315
revision=2
build_style=gnu-makefile
hostmakedepends="git"
short_desc="Qt4/Qt5 version chooser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1, GPL-3"
homepage="http://code.qt.io/cgit/qt/qtchooser.git/"

do_fetch() {
	git clone https://code.qt.io/qt/qtchooser.git ${wrksrc}
}
do_install() {
	make INSTALL_ROOT=${DESTDIR} install

	vmkdir etc/xdg/qtchooser
	vinstall ${FILESDIR}/4.conf 644 etc/xdg/qtchooser
	vinstall ${FILESDIR}/5.conf 644 etc/xdg/qtchooser
}
