20 lines
539 B
Bash
20 lines
539 B
Bash
|
TERMUX_PKG_HOMEPAGE=https://gitlab.com/ve-nt/outfieldr
|
||
|
TERMUX_PKG_DESCRIPTION="A TLDR client in Zig"
|
||
|
TERMUX_PKG_LICENSE="MIT"
|
||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||
|
TERMUX_PKG_VERSION=1.0.2
|
||
|
TERMUX_PKG_SRCURL=https://gitlab.com/ve-nt/outfieldr.git
|
||
|
TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION
|
||
|
TERMUX_PKG_DEPENDS="libc++"
|
||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
|
||
|
|
||
|
termux_step_make() {
|
||
|
termux_setup_zig
|
||
|
zig build -Dtarget=$ZIG_TARGET_NAME
|
||
|
}
|
||
|
|
||
|
termux_step_make_install() {
|
||
|
install -Dm700 -t $TERMUX_PREFIX/bin bin/tldr
|
||
|
}
|