diff options
author | khai96_ | 2022-06-07 23:59:46 +0700 |
---|---|---|
committer | khai96_ | 2022-06-07 23:59:46 +0700 |
commit | b84629c3ad205cbe1139c927f0aa177bac95e4c6 (patch) | |
tree | 4d1b21ff3cbd867a12056e227432d803f27ec0b4 | |
parent | 39ddc78722d7aaff5ab86e68e9a4c6af20696826 (diff) | |
download | aur-b84629c3ad205cbe1139c927f0aa177bac95e4c6.tar.gz |
Fix wapm bug
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 3 insertions, 21 deletions
@@ -1,14 +1,13 @@ pkgbase = wasmer-bin pkgdesc = Universal WebAssembly runtime pkgver = 2.3.0 - pkgrel = 1 + pkgrel = 2 url = https://wasmer.io/ arch = x86_64 license = MIT depends = bash provides = wasmer provides = wasmer-headless - provides = wapm provides = wasm.h provides = wasmer_wasm.h provides = wasmer.h @@ -18,7 +17,6 @@ pkgbase = wasmer-bin provides = libwasmer.so.2 provides = libwamser.so=2.3.0 conflicts = wasmer - conflicts = wapm options = strip options = libtool options = staticlibs @@ -4,7 +4,7 @@ pkgname='wasmer-bin' pkgver='2.3.0' _shortver="${pkgver%.*}" _majorver="${_shortver%.*}" -pkgrel='1' +pkgrel='2' pkgdesc='Universal WebAssembly runtime' arch=('x86_64') license=('MIT') @@ -13,12 +13,10 @@ _repo='https://github.com/wasmerio/wasmer' depends=('bash') conflicts=( 'wasmer' - 'wapm' ) provides=( 'wasmer' 'wasmer-headless' - 'wapm' 'wasm.h' 'wasmer_wasm.h' 'wasmer.h' @@ -42,20 +40,11 @@ options=( 'staticlibs' ) -build() { - cd "$srcdir" - - msg2 'Creating shell completion files for wapm...' - for shell in bash zsh fish; do - ./bin/wapm completions "$shell" >"wapm-$shell-completions" - done -} - package() { cd "$srcdir" msg2 'Installing executable commands...' - for name in wasmer wapm wax wasmer-headless; do + for name in wasmer wasmer-headless; do install -Dm755 "bin/$name" "$pkgdir/usr/bin/$name" done @@ -69,11 +58,6 @@ package() { ln -s "libwasmer.so.$pkgver" "$pkgdir/usr/lib/libwasmer.so.$_majorver" ln -s "libwasmer.so.$pkgver" "$pkgdir/usr/lib/libwasmer.so" - msg2 'Installing shell completion files for wapm...' - install -Dm644 wapm-bash-completions "$pkgdir/usr/share/bash-completion/completions/wapm" - install -Dm644 wapm-zsh-completions "$pkgdir/usr/share/zsh/site-functions/_wapm" - install -Dm644 wapm-fish-completions "$pkgdir/usr/share/fish/completions/wapm.fish" - msg2 'Installing license...' install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |