summaryrefslogtreecommitdiff
path: root/community/golangide/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/golangide/PKGBUILD')
-rw-r--r--community/golangide/PKGBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/community/golangide/PKGBUILD b/community/golangide/PKGBUILD
index 6b896a69d..f3d84a587 100644
--- a/community/golangide/PKGBUILD
+++ b/community/golangide/PKGBUILD
@@ -1,11 +1,11 @@
-#$Id: PKGBUILD 90350 2013-05-11 18:38:52Z arodseth $
+#$Id: PKGBUILD 91294 2013-05-20 20:42:41Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: spambanane <happy.house@gmx.de>
# Contributor: Matteo <matteo.dek@gmail.com>
pkgname=golangide
pkgver=18.1
-pkgrel=1
+pkgrel=3
pkgdesc='IDE for editing and building projects written in the Go programming language (now LiteIDE X)'
license=('LGPL')
arch=('x86_64' 'i686')
@@ -13,25 +13,19 @@ url='https://github.com/visualfc/liteide'
depends=('go' 'libpng12' 'glib2' 'qt5-base' 'qt5-webkit')
makedepends=('gendesk')
options=('!strip')
-source=("$pkgname.tgz::https://github.com/visualfc/liteide/archive/x$pkgver.zip"
+source=("$pkgname.zip::https://github.com/visualfc/liteide/archive/x$pkgver.zip"
'golangide.png'
'golangide.sh')
-sha256sums=('4ca6438099314789f4cd8fd3acc8016d8e32594634a6d0f130f5666dcb0a3d6c'
+sha256sums=('60ab324bffb5ec4e7b1b3f9cae9729c7c6c499df3bb994861de65e473f2d64fe'
'47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
'93ef16d59054ef9b37f8781e90f7d0f83d726779d2029660dfd21e84d808bf04')
-_name=('Golang IDE')
prepare() {
cd "$srcdir"
- gendesk -n
-
- 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
+ gendesk -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+ cd "liteide-x$pkgver/build"
+ chmod +x build_linux.sh
}
build() {
@@ -39,7 +33,6 @@ build() {
msg2 'Compiling...'
QTDIR=/usr ./build_linux.sh
- QTDIR=/usr ./webkit_linux.sh
# Fixing insecure RPATH, need to test if this is still needed
msg2 'Fixing...'
@@ -50,9 +43,10 @@ build() {
package() {
msg2 'Creating directories...'
- mkdir -p "$pkgdir/usr/lib/liteide"
- mkdir -p "$pkgdir/usr/share/liteide"
- mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+ mkdir -p \
+ "$pkgdir/usr/lib/liteide" \
+ "$pkgdir/usr/share/liteide" \
+ "$pkgdir/usr/share/doc/$pkgname"
cd "$srcdir/liteide-x$pkgver/build/liteide"
@@ -65,8 +59,7 @@ package() {
cd "$srcdir/liteide-x$pkgver/liteidex"
msg2 'Packaging resources...'
- cp -r deploy/* "$pkgdir/usr/share/liteide"
- cp -r os_deploy/* "$pkgdir/usr/share/liteide"
+ cp -r deploy/* os_deploy/* "$pkgdir/usr/share/liteide"
msg2 'Packaging libraries and plugins...'
cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide"