summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54744c4557729b62bab4c4e19104176af0f963cf (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
# 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/
}