summaryrefslogtreecommitdiff
path: root/community/cantata/PKGBUILD
blob: 72b8df7c752457fb220c13af6e6e9ed8e3097b26 (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
# $Id: PKGBUILD 84345 2013-02-16 22:50:24Z ioni $
# 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.9.2
pkgdesc="A KDE client for the music player daemon (MPD)"
pkgrel=2
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/Cantata?content=147733"
license=('GPL')
depends=('kdebase-runtime' 'taglib-extras' 'ffmpeg' 'mpg123' 'libmtp' 'speex')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://cantata.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
md5sums=('882cec90eb01d190b899689675e990b0')

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

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