aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jenkins/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-13 10:22:55 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-13 10:23:00 +0000
commitb3035afd9af9784996e38362dd5ded3c6c4e0cab (patch)
treec6fabaaf8c7d5d8e11f7f7bb36021321d30e9cbd /testing/jenkins/APKBUILD
parent5e4b96e23871ee28ef593b439f8c07ca7c7eb5bb (diff)
downloadaports-b3035afd9af9784996e38362dd5ded3c6c4e0cab.tar.gz
aports-b3035afd9af9784996e38362dd5ded3c6c4e0cab.tar.bz2
aports-b3035afd9af9784996e38362dd5ded3c6c4e0cab.tar.xz
testing/jenkins:new aport
Diffstat (limited to 'testing/jenkins/APKBUILD')
-rw-r--r--testing/jenkins/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/jenkins/APKBUILD b/testing/jenkins/APKBUILD
new file mode 100644
index 0000000000..8ceebe3c08
--- /dev/null
+++ b/testing/jenkins/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=jenkins
+pkgver=2.60.1
+pkgrel=0
+pkgdesc="Extendable continuous integration server (stable version)"
+url="https://jenkins.io"
+arch="noarch"
+license="MIT"
+depends="openjdk8 openjdk8-jre openjdk8-jre-base
+ freetype ttf-dejavu xvfb fontconfig"
+install="$pkgname.pre-install"
+options="!check"
+pkgusers="$pkgname"
+pkggroups="$pkgname"
+source="jenkins-$pkgver.war::http://mirrors.jenkins.io/war-stable/$pkgver/$pkgname.war
+ $pkgname.logrotate
+ $pkgname.initd
+ $pkgname.confd"
+builddir="$srcdir/"
+
+build() {
+ cd "$builddir"
+ return 0
+}
+
+package() {
+ cd "$builddir"
+ install -Dm755 "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname
+ install -Dm644 "$srcdir"/$pkgname.confd \
+ "$pkgdir"/etc/conf.d/$pkgname
+ install -Dm755 "$srcdir"/$pkgname-$pkgver.war \
+ "$pkgdir"/usr/share/webapps/jenkins/$pkgname.war
+ install -Dm644 "$srcdir"/$pkgname.logrotate \
+ "$pkgdir"/etc/logrotate.d/$pkgname
+ mkdir -p "$pkgdir"/var/log/jenkins
+ chown -R $pkgusers:$pkggroups "$pkgdir"/var/log/jenkins
+}
+
+sha512sums="0eef089380bc3acff62b5dcf2e36bbd7d5f973d269cc8d8d429bfaae80835dd321055038ceb0b7d39a6c291685347fa905a249f312c3970d5210450596b78518 jenkins-2.60.1.war
+74423d3c66e2312eb3a1590e0582ccd82fc01b410d3bfc0627bef56fe6f4e7f4ea01a7a2d92a7a0c4870a1a1c48e911fe7eab3073e14db4910b52158182e5856 jenkins.logrotate
+43686a537248c7a0a8fe53c3ca9577c8ffb50a141248de028d398d0fd3b3be8562b6cb2c63b44b3b0ac58d6431e8907790553791b2e125d1bfc2e3263ffaa83e jenkins.initd
+7247750a13fc2537dc1e405f6d8221ccdc80cfbaf40c47327ee04c206afa8607ada52e7b895c8eb3489dd9f6a94b42b8b38110b3120948a35dc4f197fe4c08ed jenkins.confd"