summaryrefslogtreecommitdiff
path: root/community/cantata/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cantata/PKGBUILD')
-rw-r--r--community/cantata/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/cantata/PKGBUILD b/community/cantata/PKGBUILD
index 72b8df7c7..346a73540 100644
--- a/community/cantata/PKGBUILD
+++ b/community/cantata/PKGBUILD
@@ -1,5 +1,6 @@
-# $Id: PKGBUILD 84345 2013-02-16 22:50:24Z ioni $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 85533 2013-03-02 23:09:58Z cinelli $
+# 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>
@@ -10,23 +11,26 @@ 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' '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
}