void-packages/srcpkgs/schedule/template

32 lines
1.0 KiB
Bash

# Template file for 'schedule'
pkgname=schedule
version=8.0
revision=1
archs=noarch
hostmakedepends="perl"
depends="perl"
short_desc="Framework to schedule jobs in a multiuser multitasking environment"
maintainer="Leah Neukirchen <leah@vuxu.org>"
# XXX: Get upstream to pick a license
# tracking: https://github.com/vaeth/schedule/issues/1
license="BSD"
homepage="https://github.com/vaeth/schedule/"
distfiles="https://github.com/vaeth/schedule/archive/v${version}.tar.gz"
checksum=04aa60c4e8aeae2c6c4c435d1bbbb16050937994a145bea7bb49353023c66133
do_install() {
for bin in bin/*; do
vbin $bin
done
vdoc README.md
pod2man -n schedule share/schedule/Schedule/Client/Scheduleman.pm >schedule.1
pod2man -n schedule-server share/schedule/Schedule/Server/Serverman.pm >schedule-server.1
pod2man -n schedule-tmux share/schedule/Schedule/Client/Tmuxman.pm >schedule-tmux.1
vman schedule.1
vman schedule-server.1
vman schedule-tmux.1
vmkdir usr/share/${pkgname}
vcopy "share/schedule/*" usr/share/${pkgname}
vinstall zsh/_schedule 0644 usr/share/zsh/site-functions
}