summaryrefslogtreecommitdiff
path: root/community/qtmpc/PKGBUILD
blob: c2be033ef2741fee4a7e8b4496acda0c109003d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 115239 2014-07-07 02:41:24Z fyan $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Shaika-Dzari <shaikadzari at gmail dot com>

pkgname=qtmpc
pkgver=0.6.1
pkgrel=4
pkgdesc="Qt4-based front-end for MPD"
arch=('i686' 'x86_64')
url="http://qtmpc.lowblog.nl/"
license=('GPL')
depends=('kdebase-runtime')
makedepends=('automoc4' 'cmake')
install=$pkgname.install
source=("http://files.lowblog.nl/$pkgname/QtMPC-$pkgver.tar.bz2"
        'qtmpc-0.6.1-underlinking.patch')
sha256sums=('82287a26788b36d49db26518b66203f332cf686eefb81ee2d9be095e61123a62'
            '8295218ebeeb14372c36c34510a9eed7210e82d8e474ef3caae1bd58327780d3')

build() {
  cd ${srcdir}/QtMPC

  patch -Np1 -i "${srcdir}/qtmpc-0.6.1-underlinking.patch"

  cmake . -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/QtMPC

  make DESTDIR=${pkgdir} install 
}