26 lines
812 B
Plaintext
26 lines
812 B
Plaintext
# Template file for 'git-heatmap'
|
|
pkgname=git-heatmap
|
|
version=1.2.0
|
|
revision=1
|
|
hostmakedepends="curl pkg-config"
|
|
short_desc="Simple terminal heatmap for your local git repos"
|
|
maintainer="wynd <wyndftw@proton.me>"
|
|
license="MIT"
|
|
homepage="https://git.pixelatedw.xyz/wynd/git-heatmap"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=86448cd65c80911e959c88cc2e1f4c0bbed883e1c318a3c124eac9a4be6d182c
|
|
|
|
do_install() {
|
|
: ${nightly:=nightly-2024-12-02}
|
|
|
|
# Installing rust nightly
|
|
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --profile minimal --default-toolchain ${nightly} -y
|
|
source "$HOME/.cargo/env"
|
|
|
|
# Installation
|
|
cargo +${nightly} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" --locked --path .
|
|
|
|
rm -f "${DESTDIR}"/usr/.crates.toml
|
|
rm -f "${DESTDIR}"/usr/.crates2.json
|
|
}
|