blob: 6fd252714e4534f0c80c886b3957810582f6568f (
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: Arne BrĂ¼cher <archlinux [at] arne-bruecher [dot] de>
pkgname=game-rs
pkgver=0.2.0
pkgrel=1
pkgdesc="A minimal (CLI) game launcher for Linux written in rust."
arch=("any")
url="https://github.com/amanse/game-rs"
license=("GPL")
makedepends=(rust)
provides=("game-rs")
conflicts=("game-rs")
source=(https://github.com/Amanse/game-rs/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('710a95ce5aa8fa9bb110fae9654b542c97b98cbab30be8fc57f8c7ae48a4307e')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo install --path .
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin/"
}
|