Files
zxq5 c891a8be58
Continuous integration / build (push) Failing after 4m9s
ui improvements and feature flags for AI integration
2025-08-18 01:06:30 +01:00

25 lines
476 B
Bash

pkgname=worldcoder
pkgver=0.1.1
pkgrel=3
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
prepare() {
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --frozen --release --all-features
}
check() {
export RUSTUP_TOOLCHAIN=stable
cargo test --frozen --all-features
}
package() {
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
}