0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-26 09:15:00 +00:00
Files
termux-packages/packages/feroxbuster/build.sh
Termux Github Actions dc8b9bc910 bump(main/feroxbuster): 2.11.0
This commit has been automatically submitted by Github Actions.
2024-09-15 12:15:11 +00:00

29 lines
1.1 KiB
Bash

TERMUX_PKG_HOMEPAGE="https://github.com/epi052/feroxbuster"
TERMUX_PKG_DESCRIPTION="A fast, simple, recursive content discovery tool written in Rust"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.11.0"
TERMUX_PKG_SRCURL="https://github.com/epi052/feroxbuster/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=61aa0a5654584c015ff58df69091ec40919b38235b20862975a8ab0649467a83
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS="openssl"
termux_step_post_get_source() {
sed -i -E '/^openssl\s*=/s/(,\s*)?"vendored"//g' Cargo.toml
}
termux_step_pre_configure() {
rm -f Makefile
}
termux_step_post_make_install() {
# shell completions
install -Dm644 "$TERMUX_PKG_SRCDIR/shell_completions/feroxbuster.bash" \
"$TERMUX_PREFIX"/share/bash-completion/completions/feroxbuster
install -Dm644 "$TERMUX_PKG_SRCDIR/shell_completions/_feroxbuster" \
"$TERMUX_PREFIX"/share/zsh/site-functions/_feroxbuster
install -Dm644 "$TERMUX_PKG_SRCDIR/shell_completions/feroxbuster.fish" \
"$TERMUX_PREFIX"/share/fish/vendor_completions.d/feroxbuster.fish
}