24 lines
679 B
Bash
24 lines
679 B
Bash
# Template file for 'jenkins'
|
|
pkgname=jenkins
|
|
version=2.204.2
|
|
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=4a90c54c065c8d297f7141174e0b04995f8e28d1ea41332bcc268af19f7371c7
|
|
# 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
|
|
}
|