blob: a0631cb48fc8cec02317b825a65be145fa63c398 (
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
|
# Maintainer: TwoFinger
# Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com>
pkgname=koka-bin
pkgver=3.1.1
pkgrel=1
pkgdesc="Koka: a function-oriented language with effect inference"
arch=(x86_64)
url="https://github.com/koka-lang/koka"
license=(Apache)
options=('!strip')
depends=(gcc make)
optdepends=(
'clang: for C backend compiler'
'nodejs: for JavaScript target'
'emscripten: for WebAssembly target'
'wasmtime: for running WebAssembly modules'
'mono: for C# target'
)
provides=(koka)
conflicts=(koka)
_dlfilename="koka-v${pkgver}-linux-x64.tar.gz"
source=(
"https://github.com/koka-lang/koka/releases/download/v${pkgver}/${_dlfilename}"
)
noextract=("${_dlfilename}")
sha256sums=(
3c00088edcf085b9d26eba668f170b2411bea7f9d31aea6090a06533fcfc1373
)
package() {
install -d "${pkgdir}/usr"
tar -xzf "${_dlfilename}" -C "${pkgdir}/usr"
}
|