summaryrefslogtreecommitdiff
path: root/community/cantata/PKGBUILD
blob: 8eb49da90ebe2fcd29e114f6ec5a0641ac3ae5d7 (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
34
35
36
# $Id: PKGBUILD 86462 2013-03-17 20:07:56Z cinelli $
# Maintainer:  Federico Cinelli <cinelli@aur.archlinux.org>
# Contributor: 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=3
arch=('i686' 'x86_64' 'mips64el')
url="http://kde-apps.org/content/show.php/Cantata?content=147733"
license=('GPL')
depends=('kdebase-runtime' 'taglib-extras' 'mpg123' 'libmtp')
makedepends=('cmake' 'automoc4')
install="$pkgname.install"
source=("http://cantata.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
md5sums=('882cec90eb01d190b899689675e990b0')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  mkdir build

  cmake . \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DENABLE_PHONON=ON

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  
  make DESTDIR="$pkgdir" PREFIX="/usr" install
}