summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-01-18 09:49:35 +0100
committerYves Fischer <yves.fischer@cern.ch>2016-01-18 09:49:47 +0100
commit112cf61446541437b4b0d287e9f1c2a26552aa4a (patch)
tree446cfc30898e44082ce1d294319b33b41986d915 /packages
parentb04c496374cfd608f49186d70d0b9ed9e1f50dfc (diff)
downloaddebian-packages-112cf61446541437b4b0d287e9f1c2a26552aa4a.tar.gz
debian-packages-112cf61446541437b4b0d287e9f1c2a26552aa4a.zip
idea IU 15
Diffstat (limited to 'packages')
-rw-r--r--packages/idea-iu15/build.gradle22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/idea-iu15/build.gradle b/packages/idea-iu15/build.gradle
new file mode 100644
index 0000000..bf9f982
--- /dev/null
+++ b/packages/idea-iu15/build.gradle
@@ -0,0 +1,22 @@
+import org.xapek.yvesf.gradle.DownloadTask
+
+version '15.0.2'
+
+task download(type: DownloadTask) {
+ source "https://download.jetbrains.com/idea/ideaIU-${project.version}.tar.gz"
+ sha256sum '5a3f6d8ba6d5ce8c505f13564c04cf2f674f1c022b9a33871013acb0ebe10fe5'
+}
+
+task untar(type: Copy) {
+ from tarTree(download.destFile)
+ into file("${buildDir}/unpacked/dist")
+ eachFile { FileCopyDetails fcd ->
+ fcd.path = fcd.path.substring(path.indexOf('/')+1)
+ }
+}
+untar.dependsOn(download)
+
+ospackage {
+ into "/opt/${project.name}"
+ from untar.outputs.files
+}