29 lines
947 B
Bash
29 lines
947 B
Bash
# Template file for 'schedule'
|
|
pkgname=schedule
|
|
version=7.1.0
|
|
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/"
|
|
distfiles="https://github.com/vaeth/schedule/archive/v${version}.tar.gz"
|
|
checksum=401ec6f7519b065ee1b73d5ee5dc3993bdaca5f8ea327531ae3d6b35f493ea26
|
|
|
|
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
|
|
}
|