2024-12-17 00:52:00 +02:00
|
|
|
# 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>"
|
2024-12-18 11:24:55 +02:00
|
|
|
license="GPL-3.0-or-later"
|
2024-12-17 00:52:00 +02:00
|
|
|
homepage="https://git.pixelatedw.xyz/wynd/git-heatmap"
|
|
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
2024-12-18 11:24:55 +02:00
|
|
|
checksum=28fa38349ea4f4a7836febdb1b43ae6e8b7e0613bb797a7414c2874786395806
|
2024-12-17 00:52:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|