summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2015-11-02 17:23:50 +0100
committerfrederik2015-11-02 17:23:50 +0100
commit8487b990ec2a7e10c4f37e26fdd364e2d45df9b5 (patch)
tree0ea817ed68299751c73cda0a98121f2d49b22baa
parenta7fe9c6db146885deaae91d3e3095133669e672f (diff)
downloadaur-8487b990ec2a7e10c4f37e26fdd364e2d45df9b5.tar.gz
cleanup PKGBUILD
modify package as little as possible
-rw-r--r--.SRCINFO2
-rwxr-xr-xPKGBUILD11
2 files changed, 2 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fc90a4aebe..3f8061749da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = webstorm
pkgdesc = JavaScript IDE and HTML editor.
pkgver = 11.0.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.jetbrains.com/webstorm
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 732c2eb3a56..779a692b876 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=webstorm
_pkgname=WebStorm
pkgver=11.0.0
_pkgver=143.381.46
-pkgrel=1
+pkgrel=2
pkgdesc="JavaScript IDE and HTML editor."
arch=('x86_64' 'i686')
options=('!strip')
@@ -28,15 +28,6 @@ package() {
cp -a ${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
-
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/webstorm.svg" "${pkgdir}/usr/share/pixmaps/webstorm.svg"