mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
jenkins: fix war file handling
- add create_wrksrc=yes - add empty do_extract() to skip war extraction - fix vinstall path
This commit is contained in:
parent
f01a1f29aa
commit
56571e78d0
1 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgname=jenkins
|
||||
version=2.492.3
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
make_dirs="/var/lib/jenkins 0755 jenkins jenkins"
|
||||
depends="virtual?java-runtime"
|
||||
short_desc="Open source automation server"
|
||||
|
@ -15,8 +16,12 @@ system_accounts="jenkins"
|
|||
jenkins_homedir="/var/lib/jenkins"
|
||||
jenkins_descr="Jenkins server user"
|
||||
|
||||
do_extract() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall jenkins.war 644 opt/jenkins
|
||||
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/jenkins.war 644 opt/jenkins
|
||||
vsv jenkins
|
||||
vlicense ${FILESDIR}/LICENSE
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue