Change dotter-bin to dotter
Some checks failed
build / Check package changes (push) Has been cancelled
build / Build packages (push) Has been cancelled
build / Deploy repository (push) Has been cancelled

Move from pre-compiled installation to compile and install workflow
using the cargo build style offered by voidlinux.
This commit is contained in:
Marty Oehme 2025-03-06 11:06:07 +01:00
parent d2c3a54c9a
commit 6c774a052d
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 23 additions and 19 deletions

23
srcpkgs/dotter/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'dotter'
pkgname=dotter
version=0.13.3
revision=1
build_style=cargo
short_desc="dotfile manager and templater written in rust"
maintainer="Marty Oehme <contact@martyoeh.me>"
license="Unlicense"
homepage="https://github.com/SuperCuber/dotter"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4ca78450414f405c892c26b1663cac6e56a86e1d04529a7b1a69b23881c38414
post_install() {
vdoc README.md
vlicense LICENSE.md
"$PKGDESTDIR"/usr/bin/dotter gen-completions --shell bash > completion.bash
"$PKGDESTDIR"/usr/bin/dotter gen-completions --shell zsh > completion.zsh
"$PKGDESTDIR"/usr/bin/dotter gen-completions --shell fish > completion.fish
vcompletion completion.bash bash
vcompletion completion.zsh zsh
vcompletion completion.fish fish
}