2014-04-16 19:22:29 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Steven Allen <steven@stebalien.com>
|
|
|
|
# Contributor: Maxime Gauduin <alucryd@gmail.com>
|
|
|
|
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
|
|
|
|
# Contributor: Wieland Hoffmann <the_mineo@web.de>
|
|
|
|
# Contributor: Amr Hassan <amr.hassan@gmail.com>
|
|
|
|
|
|
|
|
pkgname=python-pylast
|
2014-09-04 02:53:36 +00:00
|
|
|
pkgver=1.0.0
|
|
|
|
pkgrel=1
|
2014-04-16 19:22:29 +00:00
|
|
|
pkgdesc='A Python interface to the last.fm API'
|
|
|
|
arch=('any')
|
2014-09-04 02:53:36 +00:00
|
|
|
url='https://github.com/pylast/pylast'
|
2014-04-16 19:22:29 +00:00
|
|
|
license=('Apache')
|
|
|
|
depends=('python')
|
|
|
|
source=("http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz")
|
2014-09-04 02:53:36 +00:00
|
|
|
sha256sums=('948bc9efb2e2785db8c303cc6559358b943538cc45f902838db770b84843d605')
|
2014-04-16 19:22:29 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname#*-}-$pkgver
|
|
|
|
|
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname#*-}-$pkgver
|
|
|
|
|
|
|
|
python setup.py install --root="${pkgdir}" --optimize=1
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|