# Maintainer: Frederik Schwan # Contributor: Pablo Vilas # Contributor: Testuser_01 pkgname=webstorm _pkgname=WebStorm pkgver=11.0.2 _pkgver=143.1184.19 pkgrel=1 pkgdesc="JavaScript IDE and HTML editor." arch=('x86_64' 'i686') options=('!strip') url="http://www.jetbrains.com/${pkgname}/" license=('Commercial') depends=('java-environment>=6') source=(https://download.jetbrains.com/webstorm/${_pkgname}-${pkgver}.tar.gz jetbrains-webstorm.desktop) sha256sums=('a28bf7c9ece81a85e8ee891e2bbad9b821ed2da7f72840b1d356c435e43aa30a' 'df1155779ec87c1f9e3237a2b79a0bea1242f4f2661d3d0f5f152ef24af93166') package() { install -d -m 755 ${pkgdir}/opt/ install -d -m 755 ${pkgdir}/usr/bin/ install -d -m 755 ${pkgdir}/usr/share/applications/ install -d -m 755 ${pkgdir}/usr/share/pixmaps/ cp -a ${srcdir}/${_pkgname}-${_pkgver} $pkgdir/opt/${pkgname} ln -s /opt/$pkgname/bin/${pkgname}.sh $pkgdir/usr/bin/${pkgname} install -D -m 644 ${srcdir}/jetbrains-${pkgname}.desktop ${pkgdir}/usr/share/applications/ install -D -m 644 "${pkgdir}/opt/${pkgname}/bin/${pkgname}.svg" "${pkgdir}/usr/share/pixmaps/${pkgname}.svg" }