wasm4-bin 2.0.0
This commit is contained in:
commit
98c416540b
2 changed files with 40 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = wasm4-bin
|
||||
pkgdesc = Build retro games using WebAssembly for a fantasy console
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/aduros/wasm4
|
||||
arch = x86_64
|
||||
license = ISC
|
||||
depends = npm
|
||||
provides = wasm4
|
||||
conflicts = wasm4
|
||||
options = !strip
|
||||
source = wasm4-2.0.0.zip::https://github.com/aduros/wasm4/releases/download/v2.0.0/w4-linux.zip
|
||||
source = https://raw.githubusercontent.com/aduros/wasm4/main/LICENSE.txt
|
||||
sha256sums = 745ab56762915068259e111493d859648a2c718d706c6fef4a340a69acf28e15
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = wasm4-bin
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: James McMurray <jamesmcm03@gmail.com>
|
||||
# Project Owner: Bruno Garcia <b@aduros.com>
|
||||
|
||||
_pkgname="wasm4"
|
||||
pkgname=wasm4-bin
|
||||
_binname=w4
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='Build retro games using WebAssembly for a fantasy console'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/aduros/wasm4'
|
||||
license=('ISC')
|
||||
depends=('npm')
|
||||
source=("${_pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/w4-linux.zip" "https://raw.githubusercontent.com/aduros/wasm4/main/LICENSE.txt")
|
||||
sha256sums=('745ab56762915068259e111493d859648a2c718d706c6fef4a340a69acf28e15' 'SKIP')
|
||||
provides=('wasm4')
|
||||
conflicts=('wasm4')
|
||||
options=('!strip')
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/${_binname}" "${pkgdir}/usr/bin/${_binname}"
|
||||
install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${_pkgname}"
|
||||
}
|
Loading…
Reference in a new issue