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

Andrea Scarpino andrea at archlinux.org
Wed Jun 23 12:06:44 EDT 2010


    Date: Wednesday, June 23, 2010 @ 12:06:43
  Author: andrea
Revision: 83888

upgpkg: python-mpd 0.2.1-3
arch any; use package()

Modified:
  python-mpd/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-23 16:04:03 UTC (rev 83887)
+++ PKGBUILD	2010-06-23 16:06:43 UTC (rev 83888)
@@ -1,20 +1,21 @@
 # $Id$
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
 # Contributor: Scott Horowitz <stonecrest at gmail.com>
 
 pkgname=python-mpd
 pkgver=0.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Python MPD client library"
-arch=('i686' 'x86_64')
-url="http://mpd.wikia.com/wiki/ClientLib:python-mpd"
+arch=('any')
+url="http://jatreuman.indefero.net/p/python-mpd/"
 license=('GPL3')
 depends=('python')
-source=(http://pypi.python.org/packages/source/p/python-mpd/python-mpd-$pkgver.tar.bz2)
+source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-$pkgver.tar.bz2")
 md5sums=('4b7eafe3de91a7ab14099503f6691db1')
 
-build() {
-  cd "$srcdir/python-mpd-$pkgver"
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  python setup.py install --root="$pkgdir" || return 1
+  python setup.py install --root="$pkgdir"
 }



More information about the arch-commits mailing list