summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2d27733842d42e4c4a1a74c1579163f90623089 (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=python2-nupic-git
_pkgname=nupic
pkgver=2018_04_04
pkgrel=1
pkgdesc="Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex."
url="https://github.com/numenta/nupic"
arch=('x86_64' 'i686')
license=('AGPL')
depends=('python2-wheel' 'python2-pip' 'python2' 'python2-setuptools' 'python2-numpy')
makedepends=('git')
conflicts=('nupic')
source=("git+https://github.com/numenta/nupic.git")
md5sums=('SKIP')

pkgver() {
  cd ${srcdir}/${_pkgname}
  git log -1 --format="%cd" --date="format:%Y_%m_%d"
}

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

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