summaryrefslogtreecommitdiff
path: root/pcr/gringo/PKGBUILD
blob: ed9858ea2af7f87a894dcbe647383ab597bd2e16 (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
# Maintainer (Arch): Vincent Bernardoff <vb@luminar.eu.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=gringo
groups=('potassco')
pkgver=4.5.3
pkgrel=1
pkgdesc="Grounding tools for (disjunctive) logic programs."
arch=('x86_64' 'i686' 'armv7h')
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")
sha1sums=(3c050fdfda0cd7aa196eaac6e529f8e47a8b5ce9)
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}
}