summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Wieczorek2016-05-09 18:20:09 +0200
committerMarcin Wieczorek2016-05-09 18:20:09 +0200
commit639a94aa0ecad4de9f15f97b6bf4772332621425 (patch)
treed1e54821588bf45caa1019e69504a1709e1b422c
downloadaur-639a94aa0ecad4de9f15f97b6bf4772332621425.tar.gz
Version 2.6.7
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD24
-rw-r--r--start.sh7
4 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ff219f1997
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = rundeck
+ pkgdesc = Open source automation service with a web console, command line tools and a WebAPI
+ pkgver = 2.6.7
+ pkgrel = 1
+ url = http://messengerfordesktop.com/
+ arch = i686
+ arch = x86_64
+ license = APACHE
+ depends = java-environment
+ source = https://github.com/rundeck/rundeck/archive/v2.6.7.tar.gz
+ source = start.sh
+ md5sums = bee9c70580aa85e92ecfeefec6e673fb
+ md5sums = a8e31d4a8d91239bdc326118d6b20c02
+
+pkgname = rundeck
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..cef2199b822
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+src/
+pkg/
+*.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..856a8c085b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Marcin Wieczorek <marcin@marcin.co>
+
+pkgname=rundeck
+pkgver=2.6.7
+pkgrel=1
+pkgdesc="Open source automation service with a web console, command line tools and a WebAPI"
+arch=('i686' 'x86_64')
+url="http://messengerfordesktop.com/"
+license=('APACHE')
+depends=('java-environment')
+source=("https://github.com/rundeck/rundeck/archive/v${pkgver}.tar.gz"
+ 'start.sh')
+md5sums=('bee9c70580aa85e92ecfeefec6e673fb'
+ 'a8e31d4a8d91239bdc326118d6b20c02')
+
+build() {
+ cd "${srcdir}/rundeck-${pkgver}"
+ 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"
+}
diff --git a/start.sh b/start.sh
new file mode 100644
index 00000000000..36502c50050
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+mkdir -p ~/rundeck
+cp /opt/rundeck/rundeck-launcher.jar ~/rundeck
+
+cd ~/rundeck
+java -XX:MaxPermSize=256m -Xmx1024m -Xms256m -server -jar rundeck-launcher.jar \ No newline at end of file