[arch-commits] Commit in cantata/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue Oct 28 17:58:34 UTC 2014


    Date: Tuesday, October 28, 2014 @ 18:58:34
  Author: andrea
Revision: 121527

upgpkg: cantata 1.5.0-1

Upstream release

Modified:
  cantata/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-28 15:45:31 UTC (rev 121526)
+++ PKGBUILD	2014-10-28 17:58:34 UTC (rev 121527)
@@ -5,7 +5,7 @@
 # Contributor: MisterFred <mister.fred[at]free[dot]fr>
 
 pkgname=cantata
-pkgver=1.4.2
+pkgver=1.5.0
 pkgrel=1
 pkgdesc='Qt5 client for the music player daemon (MPD)'
 arch=('i686' 'x86_64')
@@ -12,19 +12,21 @@
 url='https://code.google.com/p/cantata/'
 license=('GPL')
 depends=('qt5-multimedia' 'qt5-svg' 'libmtp' 'libcddb' 'libmusicbrainz5' 'mpg123'
-         'taglib-extras' 'hicolor-icon-theme' 'cdparanoia')
+         'taglib-extras' 'hicolor-icon-theme' 'cdparanoia' 'speex' 'media-player-info')
 optdepends=('perl-uri: dynamic playlist'
             'mpd: playback')
 makedepends=('cmake' 'qt5-tools' 'qt5-svg' 'subversion')
 install=$pkgname.install
-source=($pkgname-$pkgver::svn+http://cantata.googlecode.com/svn/release/$pkgver)
-md5sums=('SKIP')
+source=("${pkgname}-${pkgver}.tar.bz2::https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60c0pFbEtldEk1UnM")
+md5sums=('2e18a98ecce619bdb400b3d08c2d6a94')
 
-build() {
-  cd $pkgname-$pkgver
+prepare() {
   mkdir build
+}
 
-  cmake . \
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DENABLE_HTTP_STREAM_PLAYBACK=ON \
@@ -34,6 +36,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" PREFIX="/usr" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list