blob: a0a31b16037ed30d6cb53f86ba7e3927fd40e93a (
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
27
28
29
|
# Maintainer: Victor van den Elzen <victor.vde@gmail.com>
pkgname=psisolver-git
pkgver=24d07f7
pkgrel=1
pkgdesc="Exact Inference Engine for Probabilistic Programs"
arch=('i686' 'x86_64')
url="http://psisolver.org/"
license=('custom:Boost Software License 1.0')
makedepends=('git' 'dmd')
aoptdepends=('gnuplot: for --plot')
source=('git+https://github.com/eth-srl/psi')
md5sums=('SKIP')
sha1sums=('SKIP')
pkgver() {
cd "psi"
git rev-parse --short HEAD
}
build() {
cd "psi"
cp "${startdir}/Makefile" .
make release
}
package() {
install -D "${srcdir}/psi/psi" "${pkgdir}/usr/bin/psisolver"
install -D -m644 "${srcdir}/psi/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|