summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a544fbf0ca2a2c1c431da8981ccc949fbde89c6e (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
# Maintainer: Jonathan Protzenko <jonathan.protzenko@gmail.com>
# Generated by opam2aur https://gitlab.com/malet/opam2aur

pkgname=ocaml-wasm
_oname=wasm
pkgver=1.0
pkgrel=4
pkgdesc="An OCaml library to read and write Web Assembly (wasm) files and manipulate their AST."
arch=('i686' 'x86_64')
url=''
license=('Apache-2.0')
options=('!strip' '!makeflags' 'staticlibs')
source=('https://github.com/WebAssembly/spec/archive/v1.0.zip')
depends=()
makedepends=('ocaml-findlib' 'ocamlbuild')
md5sums=('82d4cc7c67ae32a6785268a1cdddd973')

build() {
  cd "$srcdir/"*/
  make -C interpreter opt unopt
}

package() {
  cd "$srcdir/"*/
  make -C interpreter install
}