-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flavours: remove $wrksrc and edit $distfiles to use $homepage
- Loading branch information
1 parent
fa96ef0
commit 9149a6c
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |