updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / quimup / PKGBUILD
blob126a8f925821a0500c9458de882f7bd2f901f0be
1 # Contributor: totoloco <totoloco at gmail _dot_com>
3 pkgname=quimup
4 pkgver=1.2.0
5 pkgrel=1
6 pkgdesc="A client for the Music Player Daemon (MPD) written in C++ and QT"
7 arch=('i686' 'x86_64')
8 url="http://www.coonsden.com/"
9 license=('GPL2')
10 depends=('qt' 'libmpdclient')
12 source=("http://sourceforge.net/projects/musicpd/files/Quimup/${pkgver}/${pkgname}_${pkgver}_source.tar.gz/download"
13         'quimup.desktop')
14 md5sums=('89078ff4ae0e12ec86fe3020673d4e55'
15          '4f4ee81de387015a6cfb903ad36187b7')
17 build() {
18   cd ${srcdir}/${pkgname}_${pkgver}
19   qmake
20   make || return 1
23 package() {
24   cd ${srcdir}/${pkgname}_${pkgver}
26   install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
27   install -Dm644 ${srcdir}/${pkgname}.desktop \
28     ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
29   install -Dm644 Icons/${pkgname}32.png \
30     ${pkgdir}/usr/share/icons/hicolor/32x32/apps/${pkgname}.png || return 1
31   install -Dm644 Icons/${pkgname}48.png \
32     ${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png || return 1
33   install -Dm644 Icons/${pkgname}64.png \
34     ${pkgdir}/usr/share/icons/hicolor/64x64/apps/${pkgname}.png || return 1