0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-08 15:31:55 +00:00
Files
termux-packages/packages/moar/build.sh
Termux Github Actions 8c09c45819 bump(main/moar): 1.31.4
This commit has been automatically submitted by Github Actions.
2025-02-25 18:21:48 +00:00

20 lines
742 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/walles/moar
TERMUX_PKG_DESCRIPTION="A pager designed to just do the right thing without any configuration"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.31.4"
TERMUX_PKG_SRCURL=https://github.com/walles/moar/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=055d18ec7fca693dc99d69c0a2dc43e4b897dceddcf58c03959b0ad0f3c3faf7
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
go build -trimpath -ldflags="-s -w -X main.versionString=${TERMUX_PKG_VERSION}"
}
termux_step_make_install() {
install -Dm700 -t "${TERMUX_PREFIX}/bin" moar
install -Dm600 -t "${TERMUX_PREFIX}/share/man/man1" moar.1
}