summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f9d4c457078fc55043af1fe23193915e9b2d9899 (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
32
33
34
#Automatically generated by pip2arch on 2015-10-07
pkgbase=python-mvpa2-git
pkgname=python-mvpa2-git
pkgver=r8734.6042292
pkgrel=1
pkgdesc="Multivariate pattern analysis"
url="http://www.pymvpa.org"
depends=('python' 'python-numpy')
makedepends=('python3' 'git' 'bash' 'swig')
license=('MIT')
arch=('any')
source=("$pkgname::git+https://github.com/PyMVPA/PyMVPA.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  ( set -o pipefail
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}


build() {
    cd $srcdir/$pkgname
    python setup.py build_ext
}

package() {
    cd $srcdir/$pkgname
    python setup.py install --root="$pkgdir" --optimize=1 

    mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
    mv COPYING "$pkgdir/usr/share/licenses/$pkgname/"
}