void-packages/srcpkgs/qtchooser/template

24 lines
692 B
Bash

# Template file for 'qtchooser'
pkgname=qtchooser
reverts=20150315_2
version=52
revision=1
_commit=gae5eeef
wrksrc="qtchooser-$version-$_commit"
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/"
distfiles="$DEBIAN_SITE/main/q/qtchooser/qtchooser_$version-$_commit.orig.tar.xz"
checksum=03ff4b6abdd1a2230927a52f962febd47edf8adf21c3ad0cd242af014d1ae64c
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
}