summaryrefslogtreecommitdiff
path: root/community/cantata
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-04 00:03:49 -0800
committerroot <root@rshg054.dnsready.net>2013-03-04 00:03:49 -0800
commit3a8d026e8e859ff4c9aa813d5f1eb2afa5663e78 (patch)
tree48288f077555b04e1dd7cec1e637aeb94a322f0c /community/cantata
parent945c9cd1e94fab87653f84598812dec707843d26 (diff)
Mon Mar 4 00:03:48 PST 2013
Diffstat (limited to 'community/cantata')
-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
}