summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO30
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD29
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..666ba5cd388
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = python-serpent-ai-git
+ pkgdesc = Game Agent Framework. Helping you create AIs / Bots to play any game you own!
+ pkgver = r254.7c66954
+ pkgrel = 1
+ url = https://github.com/greyltc/SerpentAI
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = opencv
+ depends = python-scikit-image
+ depends = python-xlib
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-h5py-openmpi
+ depends = python-scikit-learn
+ depends = python-crossbar
+ depends = tesseract
+ depends = tesseract-data-eng
+ depends = redis
+ depends = python-aioredis
+ depends = python-kivy
+ depends = python-pyautogui
+ depends = python-autobahn
+ depends = python-editdistance
+ source = git://github.com/greyltc/SerpentAI.git
+ md5sums = SKIP
+
+pkgname = python-serpent-ai-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f8c746a174f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+SerpentAI/
+pkg/
+src/
+*.tar.gz
+*.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6f6529152b3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+pkgname=python-serpent-ai-git
+_module='SerpentAI'
+pkgver=r254.7c66954
+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 python-crossbar tesseract tesseract-data-eng redis python-aioredis python-kivy python-pyautogui python-autobahn python-editdistance)
+#TODO: python-tesserocr python-mss python-sneakysnek
+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
+}
+