# Maintainer: Fredy GarcĂ­a # Contributor: Ronald van Haren # Contributor: Antonio Rojas # Contributor: Andrea Scarpino # Contributor: damir pkgname=amarok pkgver=2.9.0.r259.a3971e4d47 pkgrel=1 pkgdesc="The powerful music player for KDE" arch=("x86_64") url="http://amarok.kde.org/" license=("FDL" "GPL2" "LGPL2.1") depends=("kcmutils" "kdnssd" "kirigami2" "knewstuff" "ktexteditor" "libgpod" "liblastfm-qt5" "libmtp" "libmygpo-qt5" "libofa" "libssh-gnutls" "mariadb" "phonon-qt5" "qt5-webengine" "taglib-extras" "threadweaver") makedepends=("extra-cmake-modules" "gdk-pixbuf2" "git" "knotifyconfig" "libgpod" "libmtp" "libmygpo-qt5" "loudmouth") optdepends=("ifuse: support for Apple iPod Touch and iPhone" "loudmouth: backend needed by mp3tunes for syncing") _commit=a3971e4d47435adb30306e4428cf7ad7b90339c0 #source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) source=("git://git.kde.org/amarok.git#commit=$_commit") sha256sums=("SKIP") validpgpkeys=("D81C0CB38EB725EF6691C385BB463350D6EF31EF") # Heiko Becker prepare() { mkdir -p "${srcdir}/build" } build() { cd "${srcdir}/build" cmake "../${pkgname}" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}" install }