termux-packages/packages/hr/build.sh

22 lines
674 B
Bash

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"
}