summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrizio Lungo2015-09-28 13:23:17 +0100
committerFabrizio Lungo2015-09-28 13:23:17 +0100
commit32998ac1e9ce209eefa26fcb2e5ccdcfeb0b4d4e (patch)
tree43c33f719a922c378a3fc32855400d0feb74329f
downloadaur-32998ac1e9ce209eefa26fcb2e5ccdcfeb0b4d4e.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD37
-rw-r--r--youtrack-workflow-editor.desktop8
-rw-r--r--youtrack-workflow-editor.sh2
5 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5d9ef3cd9e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = youtrack-workflow-editor
+ pkgdesc = A MPS-based application to create and edit workflows for YouTrack.
+ pkgver = 6.0
+ pkgrel = 1
+ url = http://www.jetbrains.com/youtrack/
+ arch = any
+ license = Commercial
+ depends = java-environment<7
+ backup = usr/share/youtrack-workflow-editor/bin/idea.properties
+ backup = usr/share/youtrack-workflow-editor/bin/youtrack-workflow.vmoptions
+ source = https://download.jetbrains.com/charisma/youtrack-workflow-editor-3384.tar.gz
+ source = youtrack-workflow-editor.sh
+ source = youtrack-workflow-editor.desktop
+ sha256sums = f25009b9108e50f2b40df3b0dda6fea39825c8885fad67886d6000765f646e9c
+ sha256sums = be320a1d8c56b6fc3feab51a06fbe3acbb7039df842bcda2f3145e9e83f06536
+ sha256sums = 2aef96faa5351a28ee40db1de3e92a9353fde14a2f2c8490e740d89c3339a8f8
+
+pkgname = youtrack-workflow-editor
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..335ec9573de
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..358b8ab3d30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Jochen Schalanda <jochen+aur@schalanda.name>
+_build=3384
+pkgname=youtrack-workflow-editor
+pkgver=6.0
+pkgrel=1
+pkgdesc='A MPS-based application to create and edit workflows for YouTrack.'
+arch=('any')
+url='http://www.jetbrains.com/youtrack/'
+backup=("usr/share/${pkgname}/bin/idea.properties" "usr/share/${pkgname}/bin/youtrack-workflow.vmoptions")
+license=('Commercial')
+depends=('java-environment<7')
+source=("https://download.jetbrains.com/charisma/${pkgname}-${_build}.tar.gz" \
+ "${pkgname}.sh" \
+ "${pkgname}.desktop")
+sha256sums=('f25009b9108e50f2b40df3b0dda6fea39825c8885fad67886d6000765f646e9c'
+ 'be320a1d8c56b6fc3feab51a06fbe3acbb7039df842bcda2f3145e9e83f06536'
+ '2aef96faa5351a28ee40db1de3e92a9353fde14a2f2c8490e740d89c3339a8f8')
+
+package() {
+ cd "${srcdir}"
+
+ install -d -m755 "${pkgdir}"/usr/{bin,share,share/licenses}
+ cp -a "youtrack-workflow" "${pkgdir}/usr/share/${pkgname}"
+
+ chown -R root:root "${pkgdir}/usr/share"
+
+ find "${pkgdir}/usr/share/${pkgname}" -type d -exec chmod 0755 {} ';'
+ find "${pkgdir}/usr/share/${pkgname}" -type f -exec chmod 0644 {} ';'
+
+ chmod +x "${pkgdir}/usr/share/${pkgname}/youtrack-workflow.sh"
+
+ install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+ install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ cp -a "${srcdir}/youtrack-workflow/license" "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/youtrack-workflow-editor.desktop b/youtrack-workflow-editor.desktop
new file mode 100644
index 00000000000..13f95a1542a
--- /dev/null
+++ b/youtrack-workflow-editor.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=YouTrack Workflow Editor
+Comment=YouTrack Workflow Editor
+Exec=youtrack-workflow-editor %u
+Icon=youtrack-workflow-editor
+Terminal=false
+Type=Application
+Categories=Development;IDE;
diff --git a/youtrack-workflow-editor.sh b/youtrack-workflow-editor.sh
new file mode 100644
index 00000000000..d2c67165c23
--- /dev/null
+++ b/youtrack-workflow-editor.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/share/youtrack-workflow-editor/youtrack-workflow.sh $*