Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions srcpkgs/tomat/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Template file for 'tomat'
pkgname=tomat
version=2.11.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel"
short_desc="Pomodoro timer with daemon support for waybar and other status bars"
maintainer="rayfadh <rayfadh@duck.com>"
license="MIT"
homepage="https://jolars.github.io/tomat/"
changelog="https://raw.githubusercontent.com/jolars/tomat/refs/heads/main/CHANGELOG.md"
distfiles="https://github.com/jolars/tomat/archive/refs/tags/v${version}.tar.gz"
checksum=44de71a3896019a466013f578f45368bc0153f8fb1f8e3dd6fb58041985ecfc8

post_install() {
vlicense LICENSE

for _f in target/man/*.1; do
vman "$_f"
done

vinstall target/completions/tomat.bash 644 usr/share/bash-completion/completions tomat
vinstall target/completions/tomat.fish 644 usr/share/fish/vendor_completions.d
vinstall target/completions/_tomat 644 usr/share/zsh/site-functions
}