void-packages/srcpkgs/schedule/template
Đoàn Trần Công Danh 9ab460c1f2 schedule: remove noarch
2020-11-28 10:30:50 +07:00

28 lines
978 B
Bash

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