27 lines
802 B
Bash
27 lines
802 B
Bash
# Template file for 'skate'
|
|
pkgname=skate
|
|
version=0.2.2
|
|
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 <zen@osowoso.xyz>"
|
|
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=e982348a89a54c0f9fafe855ec705c91b12eb3bb9aceb70b37abf7504106b04e
|
|
|
|
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
|
|
}
|