blob: 1a34ae02e4cc007c1108ee0c5063d8f47f0cf228 (
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
|
# Maintainer: Serene-Arc <https://aur.archlinux.org/account/serene-arc>
pkgname=cargo-screeps
pkgver=0.5.1
pkgrel=2
pkgdesc="Build tool for deploying Rust WASM code to Screeps game servers"
url="https://github.com/rustyscreeps/cargo-screeps/"
license=("MIT")
arch=("x86_64")
makedepends=('git' 'cargo')
provides=("cargo-screeps")
conflicts=("cargo-screeps")
source=("$pkgname-$pkgver.tar.gz::https://github.com/rustyscreeps/cargo-screeps/archive/refs/tags/cargo-screeps-$pkgver.tar.gz")
sha256sums=("1e4b00a49368420d6602daa86d79dd76a0f8a6fefa0780578183782811cbc1d9")
build() {
cd "$srcdir/$pkgname-$pkgname-$pkgver"
CARGO_TARGET_DIR='target' cargo build --release
}
package() {
install -Dm755 "$srcdir/$pkgname-$pkgname-$pkgver/target/release/cargo-screeps" -t "$pkgdir/usr/bin"
}
|