summaryrefslogtreecommitdiff
path: root/community/cantata/PKGBUILD
blob: 6d0573ec2c74a1883abdd293f78e61e6a3ba6ed4 (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
# $Id: PKGBUILD 75868 2012-09-04 07:29:32Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Mcder3 <mcder3[at]gmail[dot]com>
# Contributor: MisterFred <mister.fred[at]free[dot]fr>

pkgname=cantata
pkgver=0.8.3
pkgdesc="A KDE client for the music player daemon (MPD)"
pkgrel=1
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/Cantata?content=147733"
license=('GPL')
depends=('kdebase-runtime' 'taglib-extras' 'ffmpeg' 'libmtp' 'mpg123' 'speex')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://cantata.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
md5sums=('10f58e255ecaf827af9c9cc63ca932da')

build() {
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}