summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb401543787f5a60ab32ecffe64e5aac863ed324 (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: crave <crave@noreply>
# Generated by opam2aur https://gitlab.com/malet/opam2aur

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

build() {
  cd "$srcdir/$_oname-$pkgver"
  make -C src
}

package() {
  cd "$srcdir/$_oname-$pkgver"
  export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
  install -dm 755 "$OCAMLFIND_DESTDIR"
  make -C src install
}