blob: 4e9e562485832ea4399cc7e300831efc0260da40 (
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 : Aurelien Desbrieres <aurelien@hackers.camp>
# Contributor: Vincent Bernardoff <vb@luminar.eu.org>
pkgname=gringo
groups=('potassco')
pkgver=4.4.0
pkgrel=1
pkgdesc="Grounding tools for (disjunctive) logic programs."
arch=('x86_64' 'i686' 'armv6h' '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")
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}
}
|