2021-06-25 10:11:15 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/lycheeverse/lychee
|
|
|
|
TERMUX_PKG_DESCRIPTION="A fast, async, resource-friendly link checker written in Rust"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE-MIT, LICENSE-APACHE"
|
|
|
|
TERMUX_PKG_MAINTAINER="Yaksh Bariya <yakshbari4@gmail.com>"
|
2021-09-14 14:10:12 +02:00
|
|
|
TERMUX_PKG_VERSION=0.7.1
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/lycheeverse/lychee/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=f6acf92987aae006273b5fd211cb5c6a2f30036b7fd69ac36ecffb2b28cc3101
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-06-25 10:11:15 +02:00
|
|
|
TERMUX_PKG_DEPENDS="openssl"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
termux_setup_rust
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm755 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/lychee
|
|
|
|
}
|