mirror of
https://github.com/termux/termux-packages
synced 2024-06-18 14:47:12 +00:00
23 lines
742 B
Bash
23 lines
742 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/iawia002/lux
|
|
TERMUX_PKG_DESCRIPTION="CLI tool to download videos from various websites"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@flosnvjx"
|
|
TERMUX_PKG_VERSION="0.17.0"
|
|
TERMUX_PKG_SRCURL="https://github.com/iawia002/lux/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
|
|
TERMUX_PKG_SHA256=29cfabfd968565f834de63b7ba13a4b4eb4759b72003fb7aab5db98b060521e6
|
|
TERMUX_PKG_RECOMMENDS="ffmpeg"
|
|
TERMUX_PKG_SUGGESTS="aria2"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
mkdir bin
|
|
go build -o ./bin -trimpath
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin bin/*
|
|
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME README.*
|
|
}
|