summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 416381e18abace95deb58becd5169cde6772e2ad (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=2
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' 'mercurial')
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/
}