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: flavours-0.6.1 #41310

Merged
merged 1 commit into from
Jun 24, 2023
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/flavours/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Template file for 'flavours'
pkgname=flavours
version=0.6.1
revision=1
build_style=cargo
build_helper=qemu
short_desc="Simple and easy cli to build and use base16 schemes"
maintainer="Numair Dubas <Numair2644@protonmail.com>"
license="MIT"
homepage="https://github.com/Misterio77/flavours"
distfiles=${homepage}/archive/refs/tags/v${version}.tar.gz
checksum=48c7659031d399ff125a07b71419935946e0da8d3ef1817a9f89dda32c2dcac1

post_build() {
FLAVOURS="target/${RUST_TARGET}/release/flavours"
vtargetrun ${FLAVOURS} --completions bash > flavours.bash
vtargetrun ${FLAVOURS} --completions zsh > flavours.zsh
vtargetrun ${FLAVOURS} --completions fish > flavours.fish
}

post_install() {
vcompletion flavours.bash bash
vcompletion flavours.zsh zsh
vcompletion flavours.fish fish

vlicense LICENSE
vdoc README.md
vsconf example.toml
}