mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 00:20:30 +00:00
for the same reason as commit 40ac9ec3b43b106ec4b45b830862dfb17ff96a3e. Unable to build all at once in CI due to limited disk space. Builds are going to be triggered manually, divided into several pieces. %ci:no-build
22 lines
669 B
Bash
22 lines
669 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/github/git-sizer
|
|
TERMUX_PKG_DESCRIPTION="Compute various size metrics for a Git repository"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="Yaksh Bariya <yakshbari4@gmail.com>"
|
|
TERMUX_PKG_VERSION=1.5.0
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/github/git-sizer/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=07a5ac5f30401a17d164a6be8d52d3d474ee9c3fb7f60fd83a617af9f7e902bb
|
|
TERMUX_PKG_DEPENDS="git"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
|
|
export GOPATH=$TERMUX_PKG_CACHEDIR/go
|
|
make
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t "$TERMUX_PREFIX"/bin bin/git-sizer
|
|
}
|