addpkg(main/cargo-leptos): 0.2.44

This commit is contained in:
termux-pacman-bot
2025-10-08 22:37:21 +00:00
parent 9f772c8abb
commit 926f2f692b
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- src.orig/src/ext/util.rs 2025-09-17 13:13:26.000000000 +0000
+++ src/src/ext/util.rs 2025-10-02 20:05:14.447708864 +0000
@@ -10,6 +10,8 @@
"macos"
} else if cfg!(target_os = "linux") {
"linux"
+ } else if cfg!(target_os = "android") {
+ "android"
} else {
bail!("unsupported OS")
};

View File

@@ -0,0 +1,15 @@
TERMUX_PKG_HOMEPAGE=https://github.com/leptos-rs/cargo-leptos
TERMUX_PKG_DESCRIPTION="Build tool for the Rust framework Leptos"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.2.44"
TERMUX_PKG_SRCURL=https://github.com/leptos-rs/cargo-leptos/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=3c68c56ca57e1e4ef5a04956ea300f7730a38950e632c3c29c2429a152cc271a
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
termux_setup_rust
export OPENSSL_NO_VENDOR=1
}