void-packages/srcpkgs/schedule/template

30 lines
947 B
Plaintext
Raw Normal View History

2014-09-17 21:11:44 +02:00
# Template file for 'schedule'
pkgname=schedule
2014-11-10 21:49:42 +01:00
version=6.3.0
2014-10-27 14:28:13 +01:00
revision=1
2014-09-17 21:11:44 +02:00
noarch=yes
hostmakedepends="perl"
depends="perl"
2014-10-11 23:24:14 +02:00
short_desc="Framework to schedule jobs in a multiuser multitasking environment"
2014-09-17 21:11:44 +02:00
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="https://github.com/vaeth/schedule/"
2014-09-27 00:32:02 +02:00
distfiles="https://github.com/vaeth/schedule/archive/v${version}.tar.gz"
2014-11-10 21:49:42 +01:00
checksum=4f962ecd56dea0a98442314a047bdcd3e253140d3d3e14c443390cf70f0b4554
2014-09-17 21:11:44 +02: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
}