void-packages/srcpkgs/jenkins/template
2017-10-24 14:48:26 +02:00

24 lines
689 B
Bash

# Template file for 'jenkins'
pkgname=jenkins
version=2.86
revision=1
build_style=fetch
depends="virtual?java-runtime"
short_desc="Open source automation server"
maintainer="Renato Aguiar <renato@renag.me>"
license="MIT"
homepage="https://jenkins.io/"
distfiles="http://mirrors.jenkins-ci.org/war/${version}/jenkins.war"
checksum=207aac187882bcddf665cdee78daa2fd8642f94c02d731b9ea18fdc985640ea5
# Create 'jenkins' user
system_accounts="jenkins"
jenkins_homedir="/var/lib/jenkins"
jenkins_shell="/bin/sh"
jenkins_descr="Jenkins server user"
make_dirs="/var/lib/jenkins 0755 jenkins jenkins"
do_install() {
vinstall jenkins.war 644 opt/jenkins
vsv jenkins
vlicense ${FILESDIR}/LICENSE
}