summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 132494e619e0a101fb797bdd3a6839f9915a8f97 (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-serpent-ai-git
_module='SerpentAI'
pkgver=r210.973af1a
pkgrel=1
pkgdesc="Game Agent Framework. Helping you create AIs / Bots to play any game you own!"
url="https://github.com/greyltc/SerpentAI"
depends=(python opencv python-scikit-image python-xlib python-numpy python-scipy python-h5py-openmpi python-scikit-learn tesseract tesseract-data-eng python-redis redis python-aioredis python-kivy python-pyautogui python-autobahn python-editdistance python-offshoot-git python-sneakysnek-git python-mss python-tesserocr cython)
makedepends=(python-setuptools)
license=('MIT')
arch=('any')
source=("git://github.com/greyltc/SerpentAI.git")
md5sums=('SKIP')

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

build() {
  cd "${srcdir}/${_module}"
  python setup.py build
}

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