mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 00:32:17 +01:00
36 lines
917 B
Plaintext
36 lines
917 B
Plaintext
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=tauri-cli
|
|
pkgver=1.4.0
|
|
pkgrel=2
|
|
pkgdesc="Tauri cargo cli tool"
|
|
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://github.com/tauri-apps/tauri/releases/download/tauri-cli-v$pkgver/tauri-cli-$pkgver.crate"
|
|
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="
|
|
2089f991dee05c06a5c6645e81b651a78fec4722a7d9c81927a9afd034c7efd73083a7f41d2a817246f06a2ed418203c2a437d75309e7be5e9343a90de7d8132 tauri-cli-1.4.0.tar.gz
|
|
"
|