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

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu May 9 13:27:06 EDT 2013


    Date: Thursday, May 9, 2013 @ 19:27:06
  Author: arodseth
Revision: 90231

Updated to 18.1, currently doesn't compile

Modified:
  golangide/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-09 17:13:58 UTC (rev 90230)
+++ PKGBUILD	2013-05-09 17:27:06 UTC (rev 90231)
@@ -4,8 +4,8 @@
 # Contributor: Matteo <matteo.dek at gmail.com>
 
 pkgname=golangide
-pkgver=17
-pkgrel=2
+pkgver=18.1
+pkgrel=1
 pkgdesc='IDE for editing and building projects written in the Go programming language (now LiteIDE X)'
 license=('LGPL')
 arch=('x86_64' 'i686')
@@ -13,24 +13,26 @@
 depends=('go' 'libpng12' 'glib2' 'qt4' 'qjson')
 makedepends=('gendesk')
 options=('!strip')
-_name=('Golang IDE')
-# http://$pkgname.googlecode.com/files/liteidex$pkgver.linux-386-webkit.tar.bz2
-# http://$pkgname.googlecode.com/files/liteidex$pkgver.linux-amd64-webkit.tar.bz2
-source=("$pkgname.tgz::https://nodeload.github.com/visualfc/liteide/tar.gz/master"
+source=("$pkgname.tgz::https://github.com/visualfc/liteide/archive/x$pkgver.zip"
         'golangide.png'
         'golangide.sh')
-sha256sums=('88fae4a43a82ecb12739bfe6612d736fa963d8beaf30dccfb305c335929c3871'
+sha256sums=('3c60d943adf939f54f6c2e3549060edfe2bb243b6c845ca0068a87065dfe4bab'
             '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
             'aa5ea27f9c3626431a9cb45e5267771a1eeff48b2e3927c0574eaef9302cfd74')
+_name=('Golang IDE')
 
-build() {
+prepare() {
   cd "$srcdir"
-  msg2 'Generating .desktop file...'
+
   gendesk -n
+  chmod +x "liteide-x$pkgver/build/"*'_linux.sh'
+  sed -i 's:qmake:qmake-qt4:' "liteide-x$pkgver/build/build_linux.sh"
+}
 
+build() {
+  cd "$srcdir/liteide-x$pkgver/build"
+
   msg2 'Compiling...'
-  cd liteide-master/build
-  chmod +x build_linux.sh webkit_linux.sh
   QTDIR=/usr ./build_linux.sh
   QTDIR=/usr ./webkit_linux.sh
 
@@ -47,7 +49,7 @@
   mkdir -p "$pkgdir/usr/share/liteide"
   mkdir -p "$pkgdir/usr/share/doc/$pkgname"
 
-  cd "$srcdir/liteide-master/build/liteide"
+  cd "$srcdir/liteide-x$pkgver/build/liteide"
 
   msg2 'Packaging executables...'
   for binary in goastview goapi goexec godocview liteide; do
@@ -55,7 +57,7 @@
   done
   install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
 
-  cd "$srcdir/liteide-master/liteidex"
+  cd "$srcdir/liteide-x$pkgver/liteidex"
 
   msg2 'Packaging resources...'
   cp -r deploy/* "$pkgdir/usr/share/liteide"



More information about the arch-commits mailing list