2014-09-17 19:11:44 +00:00
|
|
|
# Template file for 'schedule'
|
|
|
|
pkgname=schedule
|
2014-09-26 22:32:02 +00:00
|
|
|
version=6.0.2
|
2014-09-17 19:11:44 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
hostmakedepends="perl"
|
|
|
|
depends="perl"
|
|
|
|
short_desc="framework to schedule jobs in a multiuser multitasking environment"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="https://github.com/vaeth/schedule/"
|
2014-09-26 22:32:02 +00:00
|
|
|
distfiles="https://github.com/vaeth/schedule/archive/v${version}.tar.gz"
|
|
|
|
checksum=2ea26c24688ace0595f9203f314ddeae7ad21f188e40d72b7707ade3385f5a9e
|
2014-09-17 19:11:44 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for bin in bin/*; do
|
|
|
|
vbin $bin
|
|
|
|
done
|
|
|
|
vdoc README
|
|
|
|
pod2man -n schedule lib/Schedule/Client/Scheduleman.pm >schedule.1
|
|
|
|
pod2man -n schedule-server lib/Schedule/Server/Serverman.pm >schedule-server.1
|
|
|
|
pod2man -n schedule-tmux lib/Schedule/Client/Tmuxman.pm >schedule-tmux.1
|
|
|
|
vman schedule.1
|
|
|
|
vman schedule-server.1
|
|
|
|
vman schedule-tmux.1
|
|
|
|
vmkdir usr/share/${pkgname}
|
|
|
|
vcopy "lib/*" usr/share/${pkgname}
|
|
|
|
vinstall zsh/_schedule 0644 usr/share/zsh/site-functions
|
|
|
|
}
|