PKGBUILDs/aur/python-pylast/PKGBUILD

32 lines
790 B
Bash
Raw Normal View History

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
2015-01-21 01:12:05 +00:00
pkgver=1.1.0
pkgrel=2
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')
2015-01-21 01:12:05 +00:00
depends=('python' 'python-six')
source=("https://github.com/pylast/pylast/archive/${pkgver}.tar.gz")
sha256sums=('0c8ec43d931624d65582e38d4e0c10f8a1215a4a1caa9d7841642d2d083d1610')
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: