void-packages/srcpkgs/jenkins/template
2019-06-22 11:44:55 +02:00

23 lines
671 B
Bash

# Template file for 'jenkins'
pkgname=jenkins
version=2.176.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=8bbc6e2043e7bd102f751aca94b51652e1e792ec0a11377d52c9d9ed484f0e8c
# 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
}