void-packages/srcpkgs/jenkins/template
Renato Aguiar 609c79b82a
jenkins: update to 2.164.3
Signed-off-by: Enno Boland <gottox@voidlinux.org>
2019-05-21 09:56:21 +02:00

23 lines
671 B
Bash

# Template file for 'jenkins'
pkgname=jenkins
version=2.164.3
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=a8af991f9085ff7f12baa2c9978554b2a18e5c4ed84327224d30e269e8f4a50e
# 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
}