summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5256385d0540f8f44ee440c613a1fe9746465d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pkgname=python-gmplot-git
pkgver=1.4.1
pkgrel=1
pkgdesc="A matplotlib-like interface to plot data with Google Maps"
arch=('any')
url="https://github.com/gmplot/gmplot"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
provides=('python-gmplot')
source=("git+$url.git#tag=$pkgver")
sha256sums=('SKIP')

prepare() {
	git -C "${srcdir}/gmplot" clean -dfx
}

build() {
	cd gmplot
	python setup.py build
}

package() {
	cd gmplot
	PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
	install -Dm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
}