summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlad2015-07-08 15:51:57 +0300
committervlad2015-07-08 15:51:57 +0300
commitad0e40278a4fdf3ed8207dfd95f63318fb477a44 (patch)
tree9927d630be71c2539679eea485faf7d823266f6f
downloadaur-ad0e40278a4fdf3ed8207dfd95f63318fb477a44.tar.gz
Initial import
-rwxr-xr-x.AURINFO16
-rw-r--r--.SRCINFO21
-rwxr-xr-xPKGBUILD44
-rwxr-xr-xjetbrains-webstorm3
-rwxr-xr-xjetbrains-webstorm.desktop10
5 files changed, 94 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100755
index 00000000000..cc476621ea0
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,16 @@
+pkgbase = webstorm
+ pkgdesc = JavaScript IDE and HTML editor.
+ pkgver = 10.0.4
+ pkgrel = 1
+ url = http://www.jetbrains.com/webstorm
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = java-runtime
+ source = http://download.jetbrains.com/webstorm/WebStorm-10.0.4.tar.gz
+ source = jetbrains-webstorm
+ source = jetbrains-webstorm.desktop
+ options = !strip
+
+pkgname = webstorm
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d34f01244f9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = webstorm
+ pkgdesc = JavaScript IDE and HTML editor.
+ pkgver = 10.0.4
+ pkgrel = 1
+ url = http://www.jetbrains.com/webstorm
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = java-runtime
+ options = !strip
+ source = http://download.jetbrains.com/webstorm/WebStorm-10.0.4.tar.gz
+ source = .AURINFO
+ source = jetbrains-webstorm
+ source = jetbrains-webstorm.desktop
+ sha256sums = f2c6b6fde74513858f204a6fc5d4f39a6b3424edcc1abc435e566ead0929319c
+ sha256sums = SKIP
+ sha256sums = 152a0b551a7955837d0e249b24c69d37282633751fc0f5fc68145edcb7c74711
+ sha256sums = b1db75ccf467b58741cb48e6ac0d8abb3b46c6b54361a153bc3e955db31c6b47
+
+pkgname = webstorm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..a9d96b70696
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Contributor: Testuser_01 <arch@nico-siebler.de>
+# Maintainer: Pablo Vilas <pablovilas89 at gmail dot com>
+pkgname=webstorm
+_pkgname=WebStorm
+pkgver=10.0.4
+_pkgver=141.1550
+pkgrel=1
+pkgdesc="JavaScript IDE and HTML editor."
+arch=('i686' 'x86_64')
+options=('!strip')
+url="http://www.jetbrains.com/${pkgname}"
+license=('custom')
+depends=('java-runtime')
+source=(http://download.jetbrains.com/webstorm/${_pkgname}-${pkgver}.tar.gz
+ .AURINFO
+ jetbrains-webstorm
+ jetbrains-webstorm.desktop)
+sha256sums=('f2c6b6fde74513858f204a6fc5d4f39a6b3424edcc1abc435e566ead0929319c'
+ SKIP
+ '152a0b551a7955837d0e249b24c69d37282633751fc0f5fc68145edcb7c74711'
+ 'b1db75ccf467b58741cb48e6ac0d8abb3b46c6b54361a153bc3e955db31c6b47')
+
+package() {
+ cd "${srcdir}"
+ mkdir -p "${pkgdir}/opt/${pkgname}"
+ cp -r ${srcdir}/${_pkgname}-${_pkgver}/* "${pkgdir}/opt/${pkgname}"
+ if [[ $CARCH = 'i686' ]]; then
+ rm -f "${pkgdir}/opt/${pkgname}/bin/libyjpagent-linux64.so"
+ rm -f "${pkgdir}/opt/${pkgname}/bin/fsnotifier64"
+ fi
+ if [[ $CARCH = 'x86_64' ]]; then
+ rm -f "${pkgdir}/opt/${pkgname}/bin/libyjpagent-linux.so"
+ rm -f "${pkgdir}/opt/${pkgname}/bin/fsnotifier"
+ fi
+
+ mkdir -p "${pkgdir}/usr/bin"
+ mkdir -p "${pkgdir}/usr/share/applications"
+ mkdir -p "${pkgdir}/usr/share/pixmaps"
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 644 "${startdir}/jetbrains-${pkgname}.desktop" "${pkgdir}/usr/share/applications"
+ install -m 644 "${pkgdir}/opt/${pkgname}/bin/webide.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -m 644 "${srcdir}/${_pkgname}-${_pkgver}/license/${_pkgname}_license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_pkgname}_license.txt"
+ install -m 755 "${startdir}/jetbrains-${pkgname}" "${pkgdir}/usr/bin"
+}
diff --git a/jetbrains-webstorm b/jetbrains-webstorm
new file mode 100755
index 00000000000..c48f57acae7
--- /dev/null
+++ b/jetbrains-webstorm
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+/opt/webstorm/bin/webstorm.sh $@
diff --git a/jetbrains-webstorm.desktop b/jetbrains-webstorm.desktop
new file mode 100755
index 00000000000..1031732e81c
--- /dev/null
+++ b/jetbrains-webstorm.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=3.0
+Name=WebStorm
+Icon=webstorm
+GenericName=IDE
+Comment=JavaScript IDE and HTML editor
+Exec=/usr/bin/jetbrains-webstorm
+Terminal=false
+Type=Application
+Categories=Development