void-packages/srcpkgs/skate/template

27 lines
806 B
Bash

# Template file for 'skate'
pkgname=skate
version=1.0.0
revision=1
build_style=go
build_helper=qemu
go_import_path="github.com/charmbracelet/skate"
go_ldflags="-X main.Version=${version}"
short_desc="Personal key value store"
maintainer="zenobit <zenobit@disroot.org>"
license="MIT"
homepage="https://github.com/charmbracelet/skate"
changelog="https://github.com/charmbracelet/skate/releases"
distfiles="https://github.com/charmbracelet/skate/archive/refs/tags/v${version}.tar.gz"
checksum=09a29b9f10a3098780c397e89ff50578498abb2659b3d861ba90a9429f192970
post_install() {
vlicense LICENSE
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/skate completion $shell > skate.${shell}
vcompletion skate.${shell} $shell
done
vtargetrun ${DESTDIR}/usr/bin/skate man > skate.1
vman skate.1
}