void-packages/srcpkgs/schedule/template
2020-08-02 14:19:55 +02:00

29 lines
991 B
Bash

# Template file for 'schedule'
pkgname=schedule
version=8.0.1
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>"
license="BSD-3-Clause"
homepage="https://github.com/vaeth/schedule/"
distfiles="https://github.com/vaeth/schedule/archive/v${version}.tar.gz"
checksum=53401c2fd3add5a2495d02a8ef3dc2fbc9d61c164ec4777ba2ff51a67f2274d0
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
}