void-packages/srcpkgs/quimup/template

25 lines
780 B
Bash

# Template file for 'quimup'
pkgname=quimup
version=1.4.0
revision=2
wrksrc="${pkgname} ${version}"
hostmakedepends="pkg-config qt5-qmake"
makedepends="libmpdclient-devel qt5-devel taglib-devel"
short_desc="Client for MPD written in c++ and QT5"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
license="GPL-2"
homepage="http://coonsden.com/?cat=4"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}%20${version}/${pkgname}_${version}_src.tar.gz"
checksum=b46f8ff651b9154a43cf90b005c160cbbddcc2fb8c6b17dfdee9b6c4a2e131ea
do_configure() {
qmake
}
do_build() {
make ${makejobs}
}
do_install() {
vbin ${pkgname}
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
vinstall src/resources/mn_icon.png 644 usr/share/icons/hicolor/32x32/apps ${pkgname}.png
}