void-packages/srcpkgs/qtchooser/template
Jürgen Buchmüller 5ac4472f56 qtchooser: update to 63
Version 58 distfile is gone.
2017-02-25 16:01:05 +01:00

27 lines
770 B
Bash

# Template file for 'qtchooser'
pkgname=qtchooser
reverts=20150315_2
version=63
revision=1
_commit=g13a3d08
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=ce436e8df1d18ee0510b4815b2543226b2ee97e34ed843fd80e13616ef568416
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
}