summaryrefslogtreecommitdiff
path: root/packages/idea-iu
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-12-20 18:47:45 +0100
committerYves Fischer <yvesf-git@xapek.org>2015-12-20 18:47:45 +0100
commit570c0a93fb24a393a2bf013a5aad5b6759713ce7 (patch)
tree430499b41b4defac779fa3f3967bf0fa7af9f418 /packages/idea-iu
downloaddebian-packages-570c0a93fb24a393a2bf013a5aad5b6759713ce7.tar.gz
debian-packages-570c0a93fb24a393a2bf013a5aad5b6759713ce7.zip
start migrating from shell scripts
Diffstat (limited to 'packages/idea-iu')
-rw-r--r--packages/idea-iu/build.gradle17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/idea-iu/build.gradle b/packages/idea-iu/build.gradle
new file mode 100644
index 0000000..5ea9000
--- /dev/null
+++ b/packages/idea-iu/build.gradle
@@ -0,0 +1,17 @@
+version '14.1.5'
+
+task download(type: buildSrc.DownloadTask) {
+ source "https://download.jetbrains.com/idea/ideaIU-${project.version}.tar.gz"
+ sha256sum '1a7a07871e31f8628e17be2b066665a596e758f8'
+}
+
+task untar(type: Copy) {
+ from tarTree(download.destFile)
+ into file("${buildDir}/unpacked/dist")
+}
+untar.dependsOn(download)
+
+ospackage {
+ into "/opt/${project.name}"
+ from untar.outputs.files
+}