void-packages/srcpkgs/qtchooser/template

29 lines
735 B
Bash

# Template file for 'qtchooser'
pkgname=qtchooser
reverts=20150315_2
version=66
revision=1
build_style=gnu-makefile
make_install_args="INSTALL_ROOT=\${DESTDIR}"
short_desc="Qt4/Qt5 version chooser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only, GPL-3.0-only"
homepage="https://www.qt.io/"
distfiles="https://download.qt.io/official_releases/qtchooser/qtchooser-${version}.tar.xz"
checksum=b22c21df135d48fc775d26d771170c2c70555704d4625605383be2cd149c7cea
do_build() {
make LFLAGS="$LDFLAGS"
}
do_check() {
# uses qmake managed by qtchooser: dependency loop
:
}
post_install() {
vmkdir etc/xdg/qtchooser
vinstall ${FILESDIR}/4.conf 644 etc/xdg/qtchooser
vinstall ${FILESDIR}/5.conf 644 etc/xdg/qtchooser
}