void-packages/srcpkgs/qtchooser/template

22 lines
540 B
Bash

# Template file for 'qtchooser'
pkgname=qtchooser
version=20150315
revision=1
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://qt.gitorious.org/qt/qtchooser"
do_fetch() {
git clone https://gitorious.org/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
}