void-packages/srcpkgs/jenkins/template
2018-06-27 05:18:14 +02:00

24 lines
695 B
Bash

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