[arch-commits] Commit in golangide/trunk (PKGBUILD golangide.sh)

Alexander Rødseth arodseth at nymeria.archlinux.org
Sat May 11 14:38:39 EDT 2013


    Date: Saturday, May 11, 2013 @ 20:38:38
  Author: arodseth
Revision: 90349

upgpkg: golangide 18.1-1

Modified:
  golangide/trunk/PKGBUILD
  golangide/trunk/golangide.sh

--------------+
 PKGBUILD     |   10 ++++++++--
 golangide.sh |    5 ++---
 2 files changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-11 18:20:26 UTC (rev 90348)
+++ PKGBUILD	2013-05-11 18:38:38 UTC (rev 90349)
@@ -18,14 +18,20 @@
         'golangide.sh')
 sha256sums=('4ca6438099314789f4cd8fd3acc8016d8e32594634a6d0f130f5666dcb0a3d6c'
             '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
-            'aa5ea27f9c3626431a9cb45e5267771a1eeff48b2e3927c0574eaef9302cfd74')
+            '93ef16d59054ef9b37f8781e90f7d0f83d726779d2029660dfd21e84d808bf04')
 _name=('Golang IDE')
 
 prepare() {
   cd "$srcdir"
 
   gendesk -n
-  chmod +x "liteide-x$pkgver/build/"*'_linux.sh'
+
+  cd "$srcdir/liteide-x$pkgver/build"
+  head -n-3 build_linux.sh > build_linux_fixed.sh
+  mv build_linux_fixed.sh build_linux.sh
+  head -n-4 webkit_linux.sh > webkit_linux_fixed.sh
+  mv webkit_linux_fixed.sh webkit_linux.sh
+  chmod +x build_linux.sh webkit_linux.sh
 }
 
 build() {

Modified: golangide.sh
===================================================================
--- golangide.sh	2013-05-11 18:20:26 UTC (rev 90348)
+++ golangide.sh	2013-05-11 18:38:38 UTC (rev 90349)
@@ -1,8 +1,7 @@
 #!/bin/sh
 ELF=/usr/bin/liteide
-# The libqjson issue has been reported upstream
 if [ ! -z $GOROOT -a -e $GOROOT ]; then
-  LD_PRELOAD=/usr/lib/libqjson.so $ELF $@
+  $ELF $@
 else
-  GOROOT=/usr/lib/go LD_PRELOAD=/usr/lib/libqjson.so $ELF $@
+  GOROOT=/usr/lib/go $ELF $@
 fi



More information about the arch-commits mailing list