[arch-commits] Commit in amarok/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 18:50:46 EDT 2011


    Date: Sunday, July 24, 2011 @ 18:50:45
  Author: andrea
Revision: 132557

Upstream release

Modified:
  amarok/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-24 22:48:47 UTC (rev 132556)
+++ PKGBUILD	2011-07-24 22:50:45 UTC (rev 132557)
@@ -4,8 +4,8 @@
 
 pkgname=amarok
 replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
-pkgver=2.4.1
-pkgrel=3
+pkgver=2.4.2
+pkgrel=1
 pkgdesc="The powerful music player for KDE"
 arch=("i686" "x86_64")
 url="http://amarok.kde.org"
@@ -20,11 +20,16 @@
             "ifuse: support for Apple iPod Touch and iPhone"
             "libmygpo-qt: gpodder.net Internet Service")
 install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('4c65c5cd4d7bd267bdbef8e912fd6cb6')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
+        'fix-kwallet-lastfm.patch')
+md5sums=('18fba23496d0ee2aa4a1f4b462279922'
+         '9eac712acbb24799290cdd42390656ac')
 
 build() {
-  cd ${srcdir}
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}"/fix-kwallet-lastfm.patch
+
+  cd "${srcdir}"
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
@@ -34,6 +39,6 @@
 }
 
 package(){
-  cd ${srcdir}/build
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list