blob: d5744bb60e8a6cb64e0a021707c07cbc0af9772b (
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: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=wasmer-git
pkgver=3.0.0.alpha.r0.ge08b8fd67
pkgrel=1
pkgdesc="Standalone JIT WebAssembly runtime"
arch=('i686' 'x86_64')
url="https://wasmer.io/"
license=('MIT')
depends=('gcc-libs' 'libffi' 'ncurses' 'zlib')
makedepends=('git' 'cmake' 'llvm' 'rust')
provides=("wasmer=$pkgver")
conflicts=('wasmer')
options=('staticlibs')
source=("git+https://github.com/wasmerio/wasmer.git")
sha256sums=('SKIP')
pkgver() {
cd "wasmer"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "wasmer"
make \
WASMER_INSTALL_PREFIX="/usr" \
ENABLE_LLVM=1
}
check() {
cd "wasmer"
#make test
}
package() {
cd "wasmer"
make \
DESTDIR="$pkgdir/usr" \
install
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/wasmer"
}
|