[arch-commits] Commit in liteide/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Nov 9 19:47:05 UTC 2019


    Date: Saturday, November 9, 2019 @ 19:47:05
  Author: arodseth
Revision: 524875

archrelease: copy trunk to community-x86_64

Added:
  liteide/repos/community-x86_64/PKGBUILD
    (from rev 524874, liteide/trunk/PKGBUILD)
Deleted:
  liteide/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  196 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 98 insertions(+), 98 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-09 19:46:59 UTC (rev 524874)
+++ PKGBUILD	2019-11-09 19:47:05 UTC (rev 524875)
@@ -1,98 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: spambanane <happy.house at gmx.de>
-# Contributor: Matteo <matteo.dek at gmail.com>
-# Contributor: Matthew Zimmerman <mzimmerman at gmail.com>
-
-pkgname=liteide
-pkgver=36.1
-pkgrel=2
-pkgdesc='IDE for editing and building projects written in the Go programming language'
-license=(LGPL)
-arch=(x86_64)
-url='https://github.com/visualfc/liteide'
-makedepends=(go-pie git imagemagick mercurial setconf)
-depends=(go-tools qt5-webkit)
-optdepends=('go-pie: go compiler'
-            'go: go compiler'
-            'gcc-go: go compiler')
-options=(!strip !emptydirs)
-source=("$pkgname-x$pkgver::git+https://github.com/visualfc/liteide.git#tag=x$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  chmod +x "liteide-x"$pkgver"/build/"*_*.sh
-
-  # Fix for FS#4662 until fixed by upstream
-  cd "liteide-x$pkgver/liteidex/os_deploy/linux/liteenv"
-  sed -i 's|^GOROOT|#GOROOT|g' linux32.env
-  sed -i 's|^GOROOT|#GOROOT|g' linux64.env
-
-  # Fix the libpng warning: iCCP: known incorrect sRGB profile
-  find "$srcdir" -type f -iname "*.png" -exec mogrify -strip '{}' \;
-
-  # relro
-  sed -i 's/"CONFIG+=release"/"CONFIG+=release" "QMAKE_LFLAGS+=-Wl,-z,relro,-z,now" "QMAKE_CXXFLAGS+=-Wl,-z,relro,-z,now"/g' \
-    "$srcdir/liteide-x$pkgver/build/build_linux.sh"
-}
-
-build() {
-  cd "liteide-x$pkgver/build"
-
-  mkdir -p go
-  export GOPATH="$PWD/go"
-  export QTDIR=/usr
-
-  ./update_pkg.sh
-  ./build_linux.sh
-}
-
-package() {
-  cd "liteide-x$pkgver/build/liteide"
-
-  # Directories
-  install -d \
-    "$pkgdir/usr/lib/liteide" \
-    "$pkgdir/usr/share/liteide" \
-    "$pkgdir/usr/share/doc/$pkgname"
-
-  # Executables
-  ls bin
-  for binary in gotools gocode liteide; do # goimports
-    install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
-  done
-  ln -s /usr/bin/liteide "$pkgdir/usr/bin/golangide"
-
-  cd "$srcdir/liteide-x$pkgver/liteidex"
-
-  # Resources
-  cp -r deploy/* os_deploy/* "$pkgdir/usr/share/liteide"
-
-  # Libraries and plugins
-  cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide"
-  chmod -x "$pkgdir/usr/lib/liteide/plugins/"*
-
-  # 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 "$srcdir"
-
-  # Desktop shortcut
-  install -Dm644 "liteide-x$pkgver/liteidex/$pkgname.desktop" \
-    "$pkgdir/usr/share/applications/$pkgname.desktop"
-  install -d "$pkgdir/usr/share/pixmaps"
-  ln -s /usr/share/liteide/welcome/images/liteide400.png \
-    "$pkgdir/usr/share/pixmaps/$pkgname.png"
-
-  # Cleaning up
-  rm -rf "$pkgdir/usr/share/$pkgname/doc"
-
-  # Fix for FS#38781
-  mv "$pkgdir/usr/share/liteide/linux/liteenv" \
-    "$pkgdir/usr/share/liteide/liteenv"
-}
-
-# getver: raw.githubusercontent.com/visualfc/liteide/master/build/liteide_archlinux/PKGBUILD
-# vim: ts=2 sw=2 et:

Copied: liteide/repos/community-x86_64/PKGBUILD (from rev 524874, liteide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-09 19:47:05 UTC (rev 524875)
@@ -0,0 +1,98 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: spambanane <happy.house at gmx.de>
+# Contributor: Matteo <matteo.dek at gmail.com>
+# Contributor: Matthew Zimmerman <mzimmerman at gmail.com>
+
+pkgname=liteide
+pkgver=36.2
+pkgrel=1
+pkgdesc='IDE for editing and building projects written in the Go programming language'
+license=(LGPL)
+arch=(x86_64)
+url='https://github.com/visualfc/liteide'
+makedepends=(go-pie git imagemagick mercurial setconf)
+depends=(go-tools qt5-webkit)
+optdepends=('go-pie: go compiler'
+            'go: go compiler'
+            'gcc-go: go compiler')
+options=(!strip !emptydirs)
+# tag: x36.2
+source=("$pkgname-x$pkgver::git+$url#commit=0a16d8b600515aab46e63fc0413ee97c535d2966")
+md5sums=('SKIP')
+
+prepare() {
+  chmod +x "liteide-x"$pkgver"/build/"*_*.sh
+
+  # Fix for FS#4662 until fixed by upstream
+  cd "liteide-x$pkgver/liteidex/os_deploy/linux/liteenv"
+  sed -i 's|^GOROOT|#GOROOT|g' linux32.env
+  sed -i 's|^GOROOT|#GOROOT|g' linux64.env
+
+  # Fix the libpng warning: iCCP: known incorrect sRGB profile
+  find "$srcdir" -type f -iname "*.png" -exec mogrify -strip '{}' \;
+
+  # relro
+  sed -i 's/"CONFIG+=release"/"CONFIG+=release" "QMAKE_LFLAGS+=-Wl,-z,relro,-z,now" "QMAKE_CXXFLAGS+=-Wl,-z,relro,-z,now"/g' \
+    "$srcdir/liteide-x$pkgver/build/build_linux.sh"
+}
+
+build() {
+  cd "liteide-x$pkgver/build"
+
+  mkdir -p go
+  export GOPATH="$PWD/go"
+  export QTDIR=/usr
+
+  ./update_pkg.sh
+  ./build_linux.sh
+}
+
+package() {
+  cd "liteide-x$pkgver/build/liteide"
+
+  install -d \
+    "$pkgdir/usr/lib/liteide" \
+    "$pkgdir/usr/share/liteide" \
+    "$pkgdir/usr/share/doc/$pkgname"
+
+  # Package executables
+  ls bin
+  for binary in gotools gocode liteide; do # goimports
+    install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
+  done
+  ln -s /usr/bin/liteide "$pkgdir/usr/bin/golangide"
+
+  cd "$srcdir/liteide-x$pkgver/liteidex"
+
+  # Package resources
+  cp -r deploy/* os_deploy/* "$pkgdir/usr/share/liteide"
+
+  # Package libraries and plugins
+  cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide"
+  chmod -x "$pkgdir/usr/lib/liteide/plugins/"*
+
+  # Package license files
+  install -Dm644 LICENSE.LGPL \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LGPL_EXCEPTION.TXT \
+    "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION"
+
+  cd "$srcdir"
+
+  # Package desktop shortcut
+  install -Dm644 "liteide-x$pkgver/liteidex/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -d "$pkgdir/usr/share/pixmaps"
+  ln -s /usr/share/liteide/welcome/images/liteide400.png \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+  # Cleaning up
+  rm -rf "$pkgdir/usr/share/$pkgname/doc"
+
+  # Fix for FS#38781
+  mv "$pkgdir/usr/share/liteide/linux/liteenv" \
+    "$pkgdir/usr/share/liteide/liteenv"
+}
+
+# getver: raw.githubusercontent.com/visualfc/liteide/master/build/liteide_archlinux/PKGBUILD
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list