[arch-commits] Commit in liteide/repos (8 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Wed Aug 14 12:28:30 UTC 2013


    Date: Wednesday, August 14, 2013 @ 14:28:29
  Author: arodseth
Revision: 95569

archrelease: copy trunk to community-x86_64, community-i686

Added:
  liteide/repos/community-i686/
  liteide/repos/community-i686/PKGBUILD
    (from rev 95568, liteide/trunk/PKGBUILD)
  liteide/repos/community-i686/liteide.png
    (from rev 95568, liteide/trunk/liteide.png)
  liteide/repos/community-i686/liteide.sh
    (from rev 95568, liteide/trunk/liteide.sh)
  liteide/repos/community-x86_64/
  liteide/repos/community-x86_64/PKGBUILD
    (from rev 95568, liteide/trunk/PKGBUILD)
  liteide/repos/community-x86_64/liteide.png
    (from rev 95568, liteide/trunk/liteide.png)
  liteide/repos/community-x86_64/liteide.sh
    (from rev 95568, liteide/trunk/liteide.sh)

-----------------------------+
 community-i686/PKGBUILD     |   87 ++++++++++++++++++++++++++++++++++++++++++
 community-i686/liteide.sh   |    7 +++
 community-x86_64/PKGBUILD   |   87 ++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/liteide.sh |    7 +++
 4 files changed, 188 insertions(+)

Copied: liteide/repos/community-i686/PKGBUILD (from rev 95568, liteide/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-08-14 12:28:29 UTC (rev 95569)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: spambanane <happy.house at gmx.de>
+# Contributor: Matteo <matteo.dek at gmail.com>
+
+pkgname=liteide
+pkgver=19
+pkgrel=1
+pkgdesc='IDE for editing and building projects written in the Go programming language ("golangide")'
+license=('LGPL')
+arch=('x86_64' 'i686')
+url='https://github.com/visualfc/liteide'
+depends=('go' 'libpng12' 'glib2' 'qt5-base' 'qt5-webkit')
+replaces=('golangide')
+conflicts=('golangide')
+makedepends=('gendesk')
+options=('!strip')
+source=("$pkgname.zip::https://github.com/visualfc/liteide/archive/x$pkgver.zip"
+        'liteide.png'
+        'liteide.sh')
+sha256sums=('182694341940878cf5df4f083a750659bffc97eb4ae517410e157bebc14f97df'
+            '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
+            '93ef16d59054ef9b37f8781e90f7d0f83d726779d2029660dfd21e84d808bf04')
+
+prepare() {
+  cd "$srcdir"
+
+  gendesk -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+  cd "liteide-x$pkgver/build"
+  chmod +x build_linux.sh
+}
+
+build() {
+  cd "$srcdir/liteide-x$pkgver/build"
+
+  QTDIR=/usr ./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' {} \;
+  find . -name liteide -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \;
+}
+
+package() {
+  cd "$srcdir/liteide-x$pkgver/build/liteide"
+
+  msg2 'Creating directories...'
+  mkdir -p \
+    "$pkgdir/usr/lib/liteide" \
+    "$pkgdir/usr/share/liteide" \
+    "$pkgdir/usr/share/doc/$pkgname"
+
+  msg2 'Packaging executables...'
+  for binary in goastview goapi goexec godocview liteide; do
+    install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
+  done
+  install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+
+  cd "$srcdir/liteide-x$pkgver/liteidex"
+
+  msg2 'Packaging resources...'
+  cp -r deploy/* os_deploy/* "$pkgdir/usr/share/liteide"
+
+  msg2 'Packaging libraries and plugins...'
+  cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide"
+  cp -r liteide/bin/libliteapp.* "$pkgdir/usr/lib/"
+  chmod -x "$pkgdir/usr/lib/liteide/plugins/"*
+
+  msg2 'Packaging license and license exception...'
+  install -Dm644 LICENSE.LGPL \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LGPL_EXCEPTION.TXT \
+    "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION"
+
+  cd ../..
+
+  msg2 'Packaging menu entry and icon...'
+  install -Dm644 "$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+  msg2 'Cleaning up...'
+  rm -rf "$pkgdir/usr/share/$pkgname/doc"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: liteide/repos/community-i686/liteide.png (from rev 95568, liteide/trunk/liteide.png)
===================================================================
(Binary files differ)

Copied: liteide/repos/community-i686/liteide.sh (from rev 95568, liteide/trunk/liteide.sh)
===================================================================
--- community-i686/liteide.sh	                        (rev 0)
+++ community-i686/liteide.sh	2013-08-14 12:28:29 UTC (rev 95569)
@@ -0,0 +1,7 @@
+#!/bin/sh
+ELF=/usr/bin/liteide
+if [ ! -z $GOROOT -a -e $GOROOT ]; then
+  $ELF $@
+else
+  GOROOT=/usr/lib/go $ELF $@
+fi

Copied: liteide/repos/community-x86_64/PKGBUILD (from rev 95568, liteide/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-08-14 12:28:29 UTC (rev 95569)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: spambanane <happy.house at gmx.de>
+# Contributor: Matteo <matteo.dek at gmail.com>
+
+pkgname=liteide
+pkgver=19
+pkgrel=1
+pkgdesc='IDE for editing and building projects written in the Go programming language ("golangide")'
+license=('LGPL')
+arch=('x86_64' 'i686')
+url='https://github.com/visualfc/liteide'
+depends=('go' 'libpng12' 'glib2' 'qt5-base' 'qt5-webkit')
+replaces=('golangide')
+conflicts=('golangide')
+makedepends=('gendesk')
+options=('!strip')
+source=("$pkgname.zip::https://github.com/visualfc/liteide/archive/x$pkgver.zip"
+        'liteide.png'
+        'liteide.sh')
+sha256sums=('182694341940878cf5df4f083a750659bffc97eb4ae517410e157bebc14f97df'
+            '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697'
+            '93ef16d59054ef9b37f8781e90f7d0f83d726779d2029660dfd21e84d808bf04')
+
+prepare() {
+  cd "$srcdir"
+
+  gendesk -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+  cd "liteide-x$pkgver/build"
+  chmod +x build_linux.sh
+}
+
+build() {
+  cd "$srcdir/liteide-x$pkgver/build"
+
+  QTDIR=/usr ./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' {} \;
+  find . -name liteide -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \;
+}
+
+package() {
+  cd "$srcdir/liteide-x$pkgver/build/liteide"
+
+  msg2 'Creating directories...'
+  mkdir -p \
+    "$pkgdir/usr/lib/liteide" \
+    "$pkgdir/usr/share/liteide" \
+    "$pkgdir/usr/share/doc/$pkgname"
+
+  msg2 'Packaging executables...'
+  for binary in goastview goapi goexec godocview liteide; do
+    install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
+  done
+  install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+
+  cd "$srcdir/liteide-x$pkgver/liteidex"
+
+  msg2 'Packaging resources...'
+  cp -r deploy/* os_deploy/* "$pkgdir/usr/share/liteide"
+
+  msg2 'Packaging libraries and plugins...'
+  cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide"
+  cp -r liteide/bin/libliteapp.* "$pkgdir/usr/lib/"
+  chmod -x "$pkgdir/usr/lib/liteide/plugins/"*
+
+  msg2 'Packaging license and license exception...'
+  install -Dm644 LICENSE.LGPL \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LGPL_EXCEPTION.TXT \
+    "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION"
+
+  cd ../..
+
+  msg2 'Packaging menu entry and icon...'
+  install -Dm644 "$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+  msg2 'Cleaning up...'
+  rm -rf "$pkgdir/usr/share/$pkgname/doc"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: liteide/repos/community-x86_64/liteide.png (from rev 95568, liteide/trunk/liteide.png)
===================================================================
(Binary files differ)

Copied: liteide/repos/community-x86_64/liteide.sh (from rev 95568, liteide/trunk/liteide.sh)
===================================================================
--- community-x86_64/liteide.sh	                        (rev 0)
+++ community-x86_64/liteide.sh	2013-08-14 12:28:29 UTC (rev 95569)
@@ -0,0 +1,7 @@
+#!/bin/sh
+ELF=/usr/bin/liteide
+if [ ! -z $GOROOT -a -e $GOROOT ]; then
+  $ELF $@
+else
+  GOROOT=/usr/lib/go $ELF $@
+fi




More information about the arch-commits mailing list