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

Federico Cinelli cinelli at nymeria.archlinux.org
Sat Mar 2 23:08:47 UTC 2013


    Date: Sunday, March 3, 2013 @ 00:08:46
  Author: cinelli
Revision: 85532

upgpkg: cantata 0.9.2-2

Modified:
  cantata/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-02 22:19:19 UTC (rev 85531)
+++ PKGBUILD	2013-03-02 23:08:46 UTC (rev 85532)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# 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>
 
@@ -10,23 +11,26 @@
 arch=('i686' 'x86_64')
 url="http://kde-apps.org/content/show.php/Cantata?content=147733"
 license=('GPL')
-depends=('kdebase-runtime' 'taglib-extras' 'ffmpeg' 'mpg123' 'libmtp' 'speex')
+depends=('kdebase-runtime' 'taglib-extras' 'mpg123' 'libmtp')
 makedepends=('cmake' 'automoc4')
-install=${pkgname}.install
-source=("http://cantata.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+install="$pkgname.install"
+source=("http://cantata.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
 md5sums=('882cec90eb01d190b899689675e990b0')
 
 build() {
+  cd "$srcdir/$pkgname-$pkgver"
   mkdir build
-  cd build
-  cmake ../${pkgname}-${pkgver} \
+
+  cmake . \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DENABLE_PHONON=ON
+
   make
 }
 
 package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/$pkgname-$pkgver"
+  
+  make DESTDIR="$pkgdir" PREFIX="/usr" install
 }




More information about the arch-commits mailing list