summaryrefslogtreecommitdiff
path: root/community/cantata/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/cantata/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/cantata/PKGBUILD')
-rw-r--r--community/cantata/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/cantata/PKGBUILD b/community/cantata/PKGBUILD
new file mode 100644
index 000000000..3c6d8ba46
--- /dev/null
+++ b/community/cantata/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 92187 2013-06-02 15:36:24Z bpiotrowski $
+# 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=1.0.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' 'mpg123' 'libmtp' 'libcddb' 'libmusicbrainz5')
+makedepends=('cmake' 'automoc4')
+install="$pkgname.install"
+source=("http://cantata.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
+md5sums=('fd942d25127a7936efaf1fe887d66189')
+
+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
+}