blob: 963d39d05f06500060b7db98b37e6d4d922db367 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Jacob Errington <archlinux@mail.jerrington.me>
pkgname=beluga-git
pkgver=v0.8.1.r190.3d50c74
pkgrel=1
pkgdesc="Beluga is a functional programming language designed for reasoning about formal systems. It features direct support for object-level binding constructs using higher order abstract syntax and treats contexts as first class objects."
arch=(x86_64)
url="http://complogic.cs.mcgill.ca/beluga/"
license=('GPL')
groups=()
depends=(ocaml ulex camlp4 ocaml-extlib)
makedepends=(git omake)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('git+https://github.com/Beluga-lang/Beluga.git#branch=master')
noextract=()
md5sums=('SKIP')
optdepends=('rlwrap: nice line wrapping')
pkgver() {
cd "$srcdir/Beluga"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare() {
mv "$srcdir/Beluga" "$srcdir/${pkgname%-git}"
cd "$srcdir/${pkgname%-git}"
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
check() {
:
}
package() {
cd "$srcdir/${pkgname%-git}"
mkdir -p "$pkgdir/usr/bin"
cp bin/beluga "$pkgdir/usr/bin/beluga"
}
|