summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9e7716b862e5a790df7450d8f39118c89868c14 (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
30
31
32
# Maintainer: Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>

pkgname=fleng
pkgver=20
pkgrel=1
pkgdesc="A low level concurrent logic programming language descended from Prolog"
arch=('x86_64')
url="http://www.call-with-current-continuation.org/fleng/fleng.html"
license=("Public Domain")
depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
makedepends=('gcc' 'make')
options=('!strip')
source=(http://www.call-with-current-continuation.org/fleng/fleng-${pkgver}.tgz)
sha256sums=('924a2e0cd6dd54613bbec926bbc908480fd11c819e779bcb63f721e2a81ec378')
internal="4a390575"

build() {
    cd $srcdir/fleng-$pkgver-$internal
    # patch -u < "${srcdir}/fix-build.patch"
    ./configure
    make
}

check() {
    cd $srcdir/fleng-$pkgver-$internal
    make check
}

package() {
    cd $srcdir/fleng-$pkgver-$internal
    make DESTDIR=$pkgdir install
}