void-packages/srcpkgs/circadian/template

21 lines
566 B
Bash

# Template file for 'circadian'
pkgname=circadian
version=0.8.4
revision=2
build_style=cargo
short_desc="Suspend-On-Idle Daemon"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/mrmekon/circadian"
distfiles="https://github.com/mrmekon/circadian/archive/v${version}.tar.gz"
checksum=3c7f955ae879394f95dcce90a143719bb4aac9dd0354bfe20c180eeda5223673
post_patch() {
cargo update --package time@0.3.20 --precise 0.3.35
}
post_install() {
vsv circadian
vsconf resources/circadian.conf.in circadian.conf
}