[arch-commits] Commit in cantata/repos (3 files)

Federico Cinelli cinelli at nymeria.archlinux.org
Tue Mar 12 05:48:50 UTC 2013


    Date: Tuesday, March 12, 2013 @ 06:48:50
  Author: cinelli
Revision: 86121

archrelease: copy trunk to community-any

Added:
  cantata/repos/community-any/
  cantata/repos/community-any/PKGBUILD
    (from rev 86120, cantata/trunk/PKGBUILD)
  cantata/repos/community-any/cantata.install
    (from rev 86120, cantata/trunk/cantata.install)

-----------------+
 PKGBUILD        |   36 ++++++++++++++++++++++++++++++++++++
 cantata.install |   12 ++++++++++++
 2 files changed, 48 insertions(+)

Copied: cantata/repos/community-any/PKGBUILD (from rev 86120, cantata/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2013-03-12 05:48:50 UTC (rev 86121)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer:  Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor: Andrea Scarpino <andrea at 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=('any')
+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
+}

Copied: cantata/repos/community-any/cantata.install (from rev 86120, cantata/trunk/cantata.install)
===================================================================
--- community-any/cantata.install	                        (rev 0)
+++ community-any/cantata.install	2013-03-12 05:48:50 UTC (rev 86121)
@@ -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
+}




More information about the arch-commits mailing list