diff --git a/srcpkgs/schedule/template b/srcpkgs/schedule/template new file mode 100644 index 0000000000..296be2d811 --- /dev/null +++ b/srcpkgs/schedule/template @@ -0,0 +1,29 @@ +# Template file for 'schedule' +pkgname=schedule +version=6.0.1 +revision=1 +noarch=yes +hostmakedepends="perl" +depends="perl" +short_desc="framework to schedule jobs in a multiuser multitasking environment" +maintainer="Christian Neukirchen " +license="BSD" +homepage="https://github.com/vaeth/schedule/" +distfiles="https://github.com/vaeth/schedule/archive/v6.0.1.tar.gz" +checksum=639ccf1a559e3f79e7a5a83b9d7e00db9d71500815e3a580de94e92927c9b7e6 + +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 +}