summaryrefslogtreecommitdiff
path: root/community/cantata
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
committerroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
commit68cdc08aec92abf91448a542e06fabbedbb583bf (patch)
tree2c42e2f29a6162e0cb5ff3db8f0b46277ab4ed90 /community/cantata
parentdba5b0127d9f00a13c489f0f5893481cbe7d429b (diff)
Fri Aug 31 00:04:43 UTC 2012
Diffstat (limited to 'community/cantata')
-rw-r--r--community/cantata/PKGBUILD31
-rw-r--r--community/cantata/cantata.install12
2 files changed, 43 insertions, 0 deletions
diff --git a/community/cantata/PKGBUILD b/community/cantata/PKGBUILD
new file mode 100644
index 000000000..74532f8f1
--- /dev/null
+++ b/community/cantata/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 75701 2012-08-29 08:36:07Z 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.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' 'libmtp' 'mpg123' 'speex')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://cantata.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('9bda49f1083820582723353f566268f3')
+
+build(){
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/cantata/cantata.install b/community/cantata/cantata.install
new file mode 100644
index 000000000..5495fb1b5
--- /dev/null
+++ b/community/cantata/cantata.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}