void-packages/srcpkgs/jenkins/template

23 lines
654 B
Bash

# Template file for 'jenkins'
pkgname=jenkins
version=2.249.3
revision=1
make_dirs="/var/lib/jenkins 0755 jenkins jenkins"
depends="virtual?java-runtime"
short_desc="Open source automation server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://jenkins.io/"
distfiles="https://mirrors.jenkins.io/war-stable/${version}/jenkins.war"
checksum=8de8f11d5688c79967bc53a8124960926a90d623e5e9f03f1315ccf3e7c49702
# 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
}