29 lines
977 B
Bash
29 lines
977 B
Bash
# Template file for 'schedule'
|
|
pkgname=schedule
|
|
version=7.5.2
|
|
revision=1
|
|
noarch=yes
|
|
hostmakedepends="perl"
|
|
depends="perl"
|
|
short_desc="Framework to schedule jobs in a multiuser multitasking environment"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD"
|
|
homepage="https://github.com/vaeth/schedule/"
|
|
distfiles="https://github.com/vaeth/schedule/archive/v${version}.tar.gz"
|
|
checksum=e4dd7cbce6a7abe905fe9acbda1b32846873254b083da51a97b53374b782be6e
|
|
|
|
do_install() {
|
|
for bin in bin/*; do
|
|
vbin $bin
|
|
done
|
|
vdoc README
|
|
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
|
|
}
|