summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfrederik2016-03-19 01:45:21 +0100
committerfrederik2016-03-19 01:45:21 +0100
commitb31bdad56232768299d3ceda217097d5fc68ec9c (patch)
treed80b2f9875ee5c72c78459b815598f382b4e15e7 /PKGBUILD
parentc4fb087e81e02fae23d46650f0a8e57c1b906f8d (diff)
downloadaur-b31bdad56232768299d3ceda217097d5fc68ec9c.tar.gz
auto detect system java
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3e0bff11da2..44a4ce5332c 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=webstorm
_pkgname=WebStorm
pkgver=2016.1
_pkgver=145.258.3
-pkgrel=2
+pkgrel=3
pkgdesc="JavaScript IDE and HTML editor."
arch=('x86_64' 'i686')
options=('!strip')
@@ -29,9 +29,8 @@ package() {
install -d -m 755 ${pkgdir}/etc/profile.d/
cp -a ${srcdir}/${_pkgname}-${_pkgver} $pkgdir/opt/${pkgname}
- # to force system java, have a look at /etc/profile.d/${pkgname}.sh
# if using system java you may remove the bundled jre and save about 100M
- rm -rf $pkgdir/opt/${pkgname}/jre
+ #rm -rf $pkgdir/opt/${pkgname}/jre
ln -s /opt/$pkgname/bin/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
install -D -m 644 ${srcdir}/jetbrains-${pkgname}.desktop ${pkgdir}/usr/share/applications/