new package: hr

This commit is contained in:
Freed-Wu 2022-03-31 14:18:00 +08:00 committed by xtkoba
parent 451b0400ea
commit 0d1d92b6e2

21
packages/hr/build.sh Normal file
View File

@ -0,0 +1,21 @@
TERMUX_PKG_HOMEPAGE=https://github.com/LuRsT/hr
TERMUX_PKG_DESCRIPTION="A horizontal ruler for your terminal"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.3
TERMUX_PKG_SRCURL=$TERMUX_PKG_HOMEPAGE/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=258ff3121369d17c5c70fa18e466ac01cdb4cf890c605f7a5e706d5b1a3afebf
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS=bash
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make() {
return
}
termux_step_make_install() {
local bin="$(basename $TERMUX_PKG_HOMEPAGE)"
install -D "$bin" -t "$TERMUX_PREFIX/bin"
install -D "$bin.1" -t "$TERMUX_PREFIX/share/man/man1"
}