summaryrefslogtreecommitdiff
path: root/pcr/gringo/PKGBUILD
blob: f2d218872cce3cd5d8992e3bb83763e53d12bd19 (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
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
# Contributor: Vincent Bernardoff <vb@luminar.eu.org>

pkgname=gringo
groups=('potassco')
pkgver=4.4.0
pkgrel=1.1
pkgdesc="Grounding tools for (disjunctive) logic programs."
arch=('x86_64' 'i686')
url="http://potassco.sourceforge.net/"
license=('GPL3')
depends=()
makedepends=('bison' 're2c' 'scons')
source=(
    "http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz")
md5sums='00627846648d6818117bfa8185e491c6'



build() {
    cd "${srcdir}/${pkgname}-${pkgver}-source"
    scons --build-dir=release ${pkgname}
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}-source/build/release"
    install -D ${pkgname} ${pkgdir}/usr/bin/${pkgname}
}