summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e21d753703dd63b3009345d1e03c96eb8d9ddae (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
29
30
31
# $Id$
# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>

pkgname=python2-mpldatacursor
pkgver=0.5.0
pkgrel=1
pkgdesc="Interactive data cursors (clickable annotation boxes) for matplotlib."
arch=('i686' 'x86_64')
url='https://github.com/joferkington/mpldatacursor'
license=('MIT')
depends=('python2-matplotlib>=0.9' 'python2-numpy>=1.1')

_gitroot=https://github.com/joferkington
_gitrepo=mpldatacursor

_tag=v${pkgver}
_dir=${_gitrepo}
source=("${_dir}"::"git+${_gitroot}/${_gitrepo}.git"#tag=${_tag})
md5sums=('SKIP')

build() {
    cd ${srcdir}/${_dir}
    python2 setup.py build
}

package() {
    cd ${srcdir}/${_dir}
    python2 setup.py install -O1 --skip-build --root "${pkgdir}" --prefix=/usr
}