Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: hut-0.1.0 #36716

Merged
merged 1 commit into from
Jul 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 29 additions & 0 deletions srcpkgs/hut/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Template file for 'hut'
pkgname=hut
version=0.1.0
revision=1
wrksrc="${pkgname}-v${version}"
build_style=go
build_helper=qemu
go_import_path="git.sr.ht/~emersion/hut"
hostmakedepends="scdoc"
short_desc="CLI tool for sr.ht"
maintainer="Dakota Walsh <kota@nilsu.org>"
license="AGPL-3.0-only"
homepage="https://git.sr.ht/~emersion/hut"
changelog="https://git.sr.ht/~emersion/hut/log"
distfiles="https://git.sr.ht/~emersion/hut/archive/v${version}.tar.gz"
checksum=5af8f1111f9ec1da9a818978eb1f013dfd50ad4311c79d95b0e62ad428ac1c59

post_install() {
hut=$(find $GOPATH/bin -name hut)
for sh in bash fish zsh; do
vtargetrun $hut completion $sh > hut.$sh
vcompletion hut.$sh $sh
done

vlicense LICENSE

scdoc < doc/hut.1.scd > doc/hut.1
vman doc/hut.1
}