[arch-commits] Commit in liteide/trunk (PKGBUILD liteide.sh)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sun Dec 29 21:02:39 UTC 2013
Date: Sunday, December 29, 2013 @ 22:02:39
Author: arodseth
Revision: 103196
Version 20.1 requires a script that changes files in /usr to be run *before* compiling. Madness.
Modified:
liteide/trunk/PKGBUILD
Deleted:
liteide/trunk/liteide.sh
------------+
PKGBUILD | 28 ++++++++++++++--------------
liteide.sh | 7 -------
2 files changed, 14 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-12-29 20:04:13 UTC (rev 103195)
+++ PKGBUILD 2013-12-29 21:02:39 UTC (rev 103196)
@@ -2,10 +2,11 @@
# Maintainer: Alexander Rødseth <rodseth at gmail.com>
# Contributor: spambanane <happy.house at gmx.de>
# Contributor: Matteo <matteo.dek at gmail.com>
+# Contributor: Matthew Zimmerman <mzimmerman at gmail.com>
pkgname=liteide
-pkgver=19
-pkgrel=4
+pkgver=20
+pkgrel=1
pkgdesc='IDE for editing and building projects written in the Go programming language ("golangide")'
license=('LGPL')
arch=('x86_64' 'i686')
@@ -16,23 +17,24 @@
makedepends=('gendesk')
options=('!strip' '!emptydirs')
source=("$pkgname.zip::https://github.com/visualfc/liteide/archive/x$pkgver.zip"
- 'liteide.png'
- 'liteide.sh')
-sha256sums=('182694341940878cf5df4f083a750659bffc97eb4ae517410e157bebc14f97df'
- '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
- '5d6f05b072586c31e3a4a08ea2d7332dd0a78f5db6b2d088fb76e8cb032672f0')
+ 'liteide.png')
+sha256sums=('b749bec15a70e3c4a851afcd0fc5c625c5654b4a56907482c8fac8193a8ccb1d'
+ '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697')
prepare() {
- gendesk -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+ gendesk -f -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc"
cd "liteide-x$pkgver/build"
- chmod +x build_linux.sh
+ chmod +x *_*.sh
}
build() {
cd "liteide-x$pkgver/build"
- QTDIR=/usr ./build_linux.sh
+ export QTDIR=/usr
+ ./update_pkg.sh
+ ./build_linux.sh
+
# Fixing insecure RPATH, need to test if this is still needed
cd ../liteidex
find . -name "*.so" -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \;
@@ -49,12 +51,10 @@
"$pkgdir/usr/share/doc/$pkgname"
msg2 'Packaging executables...'
- for binary in goastview goapi goexec godocview; do
+ for binary in goastview goapi goexec godocview liteide; do
install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
done
- install -Dm755 bin/liteide "$pkgdir/usr/bin/liteide.elf"
- install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/golangide"
+ ln -s /usr/bin/liteide "$pkgdir/usr/bin/golangide"
cd "$srcdir/liteide-x$pkgver/liteidex"
Deleted: liteide.sh
===================================================================
--- liteide.sh 2013-12-29 20:04:13 UTC (rev 103195)
+++ liteide.sh 2013-12-29 21:02:39 UTC (rev 103196)
@@ -1,7 +0,0 @@
-#!/bin/sh
-ELF=/usr/bin/liteide.elf
-if [ ! -z $GOROOT -a -e $GOROOT ]; then
- $ELF $@
-else
- GOROOT=/usr/lib/go $ELF $@
-fi
More information about the arch-commits
mailing list