mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-30 10:01:37 +02:00
35 lines
906 B
Plaintext
35 lines
906 B
Plaintext
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=tauri-cli
|
|
pkgver=2.10.1
|
|
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="
|
|
ad6e0f8defe589753887d708d1f6122b357b29ed99401df6ddfc64d21ca1bc350de5f9f7c9dfa328485334aa65ec3102654366380b701fac656f2ae027e8c247 tauri-cli-2.10.1.tar.gz
|
|
"
|