# $Id: PKGBUILD 17565 2008-10-31 03:06:04Z pierre $ pkgname=amarok pkgver=2.0 pkgrel=1 pkgdesc="A powerful music player with an intuitive interface" arch=('i686' 'x86_64') url='http://amarok.kde.org' license=('GPL' 'LGPL' 'FDL') depends=('kdelibs' 'kdebase-runtime' 'libgpod' 'libmtp' 'loudmouth' 'libmp4v2' 'taglib') makedepends=('pkgconfig' 'cmake' 'automoc4' 'mysql') replaces=('amarok-base' 'amarok-base-mysqlfree' 'amarok-engine' 'amarok-engine-xine') options=('docs') install='amarok.install' source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") md5sums=('bcecfedd3976df0e8a0bd4a499b89fcb') build() { cd $srcdir mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make make DESTDIR=$pkgdir install }