aports/testing/tauri-cli/APKBUILD
2025-04-01 21:47:09 +00:00

34 lines
904 B
Text

# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=tauri-cli
pkgver=2.4.0
pkgrel=0
pkgdesc="Command line interface for building Tauri apps"
url="https://github.com/tauri-apps/tauri"
# tauri doesn't support the others anyway
arch="aarch64 armv7 x86 x86_64"
license="Apache-2.0 OR MIT"
makedepends="
bzip2-dev
cargo
cargo-auditable
openssl-dev
"
source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/tauri-cli/$pkgver/download"
options="net !check" # no tests
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --release --frozen --no-default-features --features "native-tls"
}
package() {
install -Dm755 target/release/cargo-tauri -t "$pkgdir"/usr/bin/
}
sha512sums="
4868613e85a5d17e2cd958d82788672491492484766f26bfd01c83d1a6d441caf9e490b71e2d15218edd6a45cab17fcc62c1eb02939cdde49d1dc81eb5881e11 tauri-cli-2.4.0.tar.gz
"