summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 24ea49b95c2d60da4e5065ab6dfe44190426830e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Stian HJ <stianhj@gmail.com>

pkgname=microw8-bin
_pkgname=microw8
pkgver=0.3.0
pkgrel=1
pkgdesc="WebAssembly based fantasy console"
arch=('x86_64')
url="https://exoticorn.github.io/microw8/"
license=('Unlicense')
source=(https://github.com/exoticorn/microw8/releases/download/v$pkgver/$_pkgname-$pkgver-linux.tgz)
sha256sums=('38515dfb3f30ffcfb9f43ea3fe8701485047e14e055081e8b998f5f84e138d29')
conflicts=('microw8')
provides=('microw8')

package() {
  cd "$srcdir/microw8-linux/"
  install -Dm755 uw8 "$pkgdir/usr/bin/uw8"
  install -Dm644 README.md "$pkgdir/usr/share/doc/microw8/README.md"
  install -Dm644 microw8.html "$pkgdir/usr/share/doc/microw8/microw8.html"
  install -Dm644 examples/* -t "$pkgdir/usr/share/doc/microw8/examples/"
  install -Dm644 carts/* -t "$pkgdir/usr/share/doc/microw8/carts/"
}