summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Wieczorek2016-06-27 14:35:16 +0200
committerMarcin Wieczorek2016-06-27 14:35:16 +0200
commit2398b888d3b7fa0851e09c6159009eb7efd5f763 (patch)
tree36976393686c2030fc52bcae2e71ffb443526085
parent4e7d504feefb16582eae240900e62b148ffa717b (diff)
downloadaur-2398b888d3b7fa0851e09c6159009eb7efd5f763.tar.gz
Version 2.6.8
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD21
-rw-r--r--start.sh4
4 files changed, 21 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a68aa0e496..e083d6e749a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = rundeck
pkgdesc = Open source automation service with a web console, command line tools and a WebAPI
- pkgver = 2.6.7
- pkgrel = 2
+ pkgver = 2.6.8
+ pkgrel = 1
url = http://messengerfordesktop.com/
- arch = i686
- arch = x86_64
+ arch = any
license = APACHE
depends = java-environment
- source = https://github.com/rundeck/rundeck/archive/v2.6.7.tar.gz
+ depends = bash
+ source = https://github.com/rundeck/rundeck/archive/v2.6.8.tar.gz
source = start.sh
- md5sums = bee9c70580aa85e92ecfeefec6e673fb
- md5sums = a8e31d4a8d91239bdc326118d6b20c02
+ md5sums = 7b8991d4530406f88884a2bed9df0d04
+ md5sums = 520c429435ea55c694b66dfa969f98ca
pkgname = rundeck
diff --git a/.gitignore b/.gitignore
index cef2199b822..75cb4137f78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
src/
pkg/
*.tar.xz
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 2517bc6f3fb..ba1a54825e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,30 @@
# Maintainer: Marcin Wieczorek <marcin@marcin.co>
pkgname=rundeck
-pkgver=2.6.7
-pkgrel=2
+pkgver=2.6.8
+pkgrel=1
pkgdesc="Open source automation service with a web console, command line tools and a WebAPI"
-arch=('i686' 'x86_64')
+arch=('any')
url="http://messengerfordesktop.com/"
license=('APACHE')
-depends=('java-environment')
+depends=('java-environment' 'bash')
source=("https://github.com/rundeck/rundeck/archive/v${pkgver}.tar.gz"
'start.sh')
-md5sums=('bee9c70580aa85e92ecfeefec6e673fb'
- 'a8e31d4a8d91239bdc326118d6b20c02')
+md5sums=('7b8991d4530406f88884a2bed9df0d04'
+ '520c429435ea55c694b66dfa969f98ca')
build() {
cd "${srcdir}/rundeck-${pkgver}"
-
+
if [[ -z "${JAVA_HOME// }" ]]; then
export JAVA_HOME="/usr/lib/jvm/default"
fi
-
+
sh ./gradlew build
}
package() {
- install -D -m755 "${srcdir}/start.sh" "${pkgdir}/usr/bin/rundeck"
- install -D -m755 "${srcdir}/rundeck-${pkgver}/rundeck-launcher/launcher/build/libs/rundeck-launcher-${pkgver}-SNAPSHOT.jar" "${pkgdir}/opt/rundeck/rundeck-launcher.jar"
+ install -D -m755 "${srcdir}/start.sh" "${pkgdir}/usr/bin/rundeck"
+ install -D -m755 "${srcdir}/rundeck-${pkgver}/rundeck-launcher/launcher/build/libs/rundeck-launcher-${pkgver}-SNAPSHOT.jar" "${pkgdir}/usr/share/java/rundeck/rundeck-launcher.jar"
+ install -D -m644 "${srcdir}/rundeck-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
diff --git a/start.sh b/start.sh
index 36502c50050..f4dca3b52f3 100644
--- a/start.sh
+++ b/start.sh
@@ -1,7 +1,7 @@
#!/bin/sh
mkdir -p ~/rundeck
-cp /opt/rundeck/rundeck-launcher.jar ~/rundeck
+cp -u /usr/share/java/rundeck/rundeck-launcher.jar ~/rundeck
cd ~/rundeck
-java -XX:MaxPermSize=256m -Xmx1024m -Xms256m -server -jar rundeck-launcher.jar \ No newline at end of file
+java -XX:MaxPermSize=256m -Xmx1024m -Xms256m -server -jar rundeck-launcher.jar