quimup: fix installation; add desktop file.

This commit is contained in:
Juan RP 2015-07-31 07:57:53 +02:00
parent 2459e998c0
commit dde2b589f7
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Name=Quimup
Comment=A client for the Music Player Daemon (MPD) written in C++ and Qt
Exec=quimup
Terminal=false
Type=Application
Icon=quimup
Categories=AudioVideo;Player;
StartupNotify=true

View file

@ -1,9 +1,8 @@
# Template file for 'quimup'
pkgname=quimup
version=1.4.0
revision=1
revision=2
wrksrc="${pkgname} ${version}"
build_style=gnu-makefile
hostmakedepends="pkg-config qt5-qmake"
makedepends="libmpdclient-devel qt5-devel taglib-devel"
short_desc="Client for MPD written in c++ and QT5"
@ -16,3 +15,11 @@ 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
}