void-packages/srcpkgs/jenkins/template
2020-05-31 13:03:31 +02:00

23 lines
679 B
Bash

# Template file for 'jenkins'
pkgname=jenkins
version=2.222.4
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@renatoaguiar.net>"
license="MIT"
homepage="https://jenkins.io/"
distfiles="http://mirrors.jenkins.io/war-stable/${version}/jenkins.war"
checksum=6c95721b90272949ed8802cab8a84d7429306f72b180c5babc33f5b073e1c47c
# Create 'jenkins' user
system_accounts="jenkins"
jenkins_homedir="/var/lib/jenkins"
jenkins_descr="Jenkins server user"
do_install() {
vinstall jenkins.war 644 opt/jenkins
vsv jenkins
vlicense ${FILESDIR}/LICENSE
}