blob: 3f405929237dc7f724046020c903e08051a92aa5 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Erica Marigold <hi@devcomp.xyz>
pkgname=rojo
pkgver=7.4.4
pkgrel=1
pkgdesc="[Latest Stable Source] Rojo enables Roblox developers to use professional-grade software engineering tools"
arch=(x86_64 aarch64)
conflicts=(rojo-git rojo-bin)
url="https://rojo.space"
license=(MPL2)
depends=(gcc-libs glibc)
makedepends=(cargo)
options=(!lto)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rojo-rbx/rojo/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('d3efd4525a0a8f0da5f619f49a35e22f0f19113adf11e17725efafbf06a2b12b')
prepare() {
cd "rojo-${pkgver}"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "rojo-${pkgver}"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --frozen --release
}
check() {
cd "rojo-${pkgver}"
export RUSTUP_TOOLCHAIN=stable
cargo test --locked --verbose
}
package() {
cd "rojo-${pkgver}"
install -Dm755 -t ${pkgdir}/usr/bin target/release/rojo
}
|