summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc453a5433daad846958bc1f4bf11cb9561cb065 (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
# Maintainer: Hoàng Văn Khải <hvksmr1996@gmail.com>

pkgname=wasmer-bin
pkgver=0.4.0
pkgrel=1
pkgdesc='Universal WebAssembly runtime'
arch=(x86_64)
license=(MIT)
url='https://wasmer.io/'
depends=()
conflicts=(wasmer)
provides=(wasmer)
source=(
  "https://github.com/wasmerio/wasmer/releases/download/${pkgver}/wasmer-linux-amd64.tar.gz"
  "https://raw.githubusercontent.com/wasmerio/wasmer/${pkgver}/LICENSE"
  logo.sh
)
sha512sums=(SKIP SKIP SKIP)

package() {
  cd "$srcdir"
  source logo.sh
  install -Dm755 bin/wasmer "$pkgdir"/usr/bin/wasmer
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}