summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThor772016-04-24 21:40:47 +0200
committerThor772016-04-24 21:40:47 +0200
commitdad1c8f65767548bafac978f6c460675746baa5f (patch)
tree41cc2ad6066e9ef3348209178b735c7e5d91afa5 /PKGBUILD
downloadaur-dad1c8f65767548bafac978f6c460675746baa5f.tar.gz
Initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..54744c45577
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Thor77 <thor77 at thor77 dot org>
+
+pkgname=minion
+pkgver=2.0
+pkgrel=1
+pkgdesc="Minion is a relatively new constraint solver which is fast and scales well as problem size increases"
+arch=('i686' 'x86_64')
+url="http://constraintmodelling.org/minion/"
+license=('GNU General Public License Version 2')
+makedepends=('python2' 'cmake')
+source=("hg+https://bitbucket.org/stacs_cp/minion")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/minion"
+ mkdir -p bin
+ cd bin
+ python2 ../build.py
+ make minion
+}
+
+package() {
+ cd "$srcdir/minion/bin"
+ install -d "$pkgdir/usr/bin"
+ install -Dm 755 minion $pkgdir/usr/bin/
+}