21 lines
657 B
Bash
21 lines
657 B
Bash
# Maintainer: relrel <relrelbachar@gmail.com>
|
|
pkgname=ruffle-nightly-bin
|
|
pkgver=@VERSION@
|
|
pkgrel=1
|
|
pkgdesc="A Flash Player emulator written in Rust"
|
|
arch=('x86_64')
|
|
url="https://ruffle.rs/"
|
|
license=('Apache' 'MIT')
|
|
depends=(zlib libxcb alsa-lib)
|
|
provides=(ruffle)
|
|
conflicts=(ruffle-git)
|
|
source=("https://github.com/ruffle-rs/ruffle/releases/download/nightly-${pkgver//./-}/ruffle-nightly-${pkgver//./_}-linux-x86_64.tar.gz")
|
|
sha512sums=(@SHA512SUM@)
|
|
|
|
package() {
|
|
cd "$srcdir/"
|
|
install -Dm755 -t "$pkgdir/usr/bin/" ruffle
|
|
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
|
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
|
|
}
|