mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
800 B
Bash
31 lines
800 B
Bash
# $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
|
|
pkgver=0.5.11
|
|
pkgrel=5
|
|
pkgdesc='A Python interface to the last.fm API'
|
|
arch=('any')
|
|
url='http://pylast.googlecode.com'
|
|
license=('Apache')
|
|
depends=('python')
|
|
source=("http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz")
|
|
sha256sums=('bf35820be35447d55564d36072d40b09ac8a7fd41a6f1a7a9d408f4d0eaefac4')
|
|
|
|
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:
|