void-packages/srcpkgs/jenkins/template

25 lines
695 B
Bash

# Template file for 'jenkins'
pkgname=jenkins
version=2.150.1
revision=1
build_style=fetch
make_dirs="/var/lib/jenkins 0755 jenkins jenkins"
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.io/war-stable/${version}/jenkins.war"
checksum=7a38586d5a3a1a83498809a83715728bb2f01b58a7dd3a88366f076efdaf6669
# Create 'jenkins' user
system_accounts="jenkins"
jenkins_homedir="/var/lib/jenkins"
jenkins_shell="/bin/sh"
jenkins_descr="Jenkins server user"
do_install() {
vinstall jenkins.war 644 opt/jenkins
vsv jenkins
vlicense ${FILESDIR}/LICENSE
}