summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e79cd46a2f19497088c068bc5f81555e5225ee02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
_name=osmapi
pkgname=python-osmapi
pkgver=1.2.2
pkgrel=1
pkgdesc='Python wrapper for the OSM API'
arch=(any)
url="https://pypi.python.org/pypi/$_name"
license=(GPL)
depends=(python)
makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('f80749c3bf414138c82790da2179519b63d60ce7146d471ba6c651307f5b77f1')

package() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1 || return 1
}