# $Id: PKGBUILD 128966 2015-03-09 08:48:44Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
# Contributor: Wieland Hoffmann <the_mineo@web.de>
# Contributor: Amr Hassan <amr.hassan@gmail.com>

pkgname=python2-pylast
pkgver=1.1.0
pkgrel=2
pkgdesc='A Python interface to the last.fm API'
arch=('any')
url='http://pylast.googlecode.com'
license=('Apache')
depends=('python2-six')
makedepends=('python2-setuptools')
source=("http://pypi.python.org/packages/source/p/pylast/pylast-$pkgver.tar.gz")
sha256sums=('f7da6f8f5c02bff18e4600ad7d44b7d82cbf78d3a9b09c33e168def4280953ce')

build() {
  cd pylast-$pkgver

  python2 setup.py build
}

package() {
  cd pylast-$pkgver

  python2 setup.py install --root="${pkgdir}" --optimize='1'
}

# vim: ts=2 sw=2 et:
