diff options
Diffstat (limited to 'extra/amarok/PKGBUILD')
-rw-r--r-- | extra/amarok/PKGBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/extra/amarok/PKGBUILD b/extra/amarok/PKGBUILD index 1f255b672..90e291606 100644 --- a/extra/amarok/PKGBUILD +++ b/extra/amarok/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 185605 2013-05-15 22:40:19Z andrea $ +# $Id: PKGBUILD 188524 2013-06-15 07:43:53Z andrea $ # Maintainer: Ronald van Haren <ronald@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: damir <damir@archlinux.org> @@ -6,7 +6,7 @@ pkgname=amarok replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree') pkgver=2.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="The powerful music player for KDE" arch=("i686" "x86_64") url="http://amarok.kde.org/" @@ -22,11 +22,19 @@ optdepends=("libgpod: support for Apple iPod audio devices" "libmygpo-qt: gpodder.net Internet Service" "clamz: allow to download songs from Amazon.com") install="${pkgname}.install" -source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('445eba6aaadface756410cf0f568a3770d437d2d') - -build() { +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + 'kde411.patch') +sha1sums=('445eba6aaadface756410cf0f568a3770d437d2d' + 'c2fd0153ec622fccac47ebd31a1b0548c6222541') + +prepare() { mkdir build + + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/kde411.patch +} + +build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ |