summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD25
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d1a3f6a130a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = python-maxfield-git
+ pkgdesc = An Ingress Linking and Fielding Strategy Generator
+ pkgver = 4.0.r18.gc12493f
+ pkgrel = 1
+ url = https://github.com/tvwenger/maxfield
+ arch = any
+ license = GPL3
+ makedepends = python
+ makedepends = python-setuptools
+ makedepends = git
+ depends = python-numpy
+ depends = python-networkx
+ depends = python-scipy
+ depends = python-or-tools
+ depends = python-matplotlib
+ depends = python-imageio
+ depends = python-gifsicle
+ provides = python-maxfield
+ conflicts = python-maxfield
+ source = git+https://github.com/tvwenger/maxfield.git
+ sha256sums = SKIP
+
+pkgname = python-maxfield-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e0fad3c6d23
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
+
+pkgname=python-maxfield-git
+pkgver=4.0.r18.gc12493f
+pkgrel=1
+pkgdesc='An Ingress Linking and Fielding Strategy Generator'
+arch=('any')
+license=('GPL3')
+url="https://github.com/tvwenger/maxfield"
+depends=('python-numpy' 'python-networkx' 'python-scipy' 'python-or-tools' 'python-matplotlib' 'python-imageio' 'python-gifsicle')
+makedepends=('python' 'python-setuptools' 'git')
+conflicts=('python-maxfield')
+provides=('python-maxfield')
+source=('git+https://github.com/tvwenger/maxfield.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/maxfield"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package () {
+ cd "$srcdir/maxfield"
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}