void-packages/srcpkgs/qtchooser/template
2016-06-22 18:53:46 +02:00

27 lines
770 B
Bash

# Template file for 'qtchooser'
pkgname=qtchooser
reverts=20150315_2
version=58
revision=1
_commit=gfab25f1
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=aec19549a75e880208bee63e8d545d2603f89bb1776ef3be124409dcb79cc7d1
do_build() {
make CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS"
}
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
}