[arch-commits] Commit in liteide/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Feb 21 18:28:47 UTC 2021
Date: Sunday, February 21, 2021 @ 18:28:47
Author: arodseth
Revision: 867791
upgpkg: liteide 37.3-2
Modified:
liteide/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-21 18:15:51 UTC (rev 867790)
+++ PKGBUILD 2021-02-21 18:28:47 UTC (rev 867791)
@@ -5,24 +5,23 @@
pkgname=liteide
pkgver=37.3
-pkgrel=1
-pkgdesc='IDE for editing and building projects written in the Go programming language'
+pkgrel=2
+pkgdesc='IDE for editing and building projects written in Go'
license=(LGPL)
arch=(x86_64)
url='https://github.com/visualfc/liteide'
makedepends=(go git imagemagick mercurial setconf)
depends=(go-tools qt5-webkit)
-optdepends=('go-pie: go compiler'
- 'go: go compiler'
+optdepends=('go: go compiler'
'gcc-go: go compiler')
options=(!strip !emptydirs)
source=("$pkgname-x$pkgver::git+$url#commit=7230f1b85b0fad5c74eeea46998d06ca13eb925b") # tag: x37.3
-sha256sums=(SKIP)
+sha256sums=('SKIP')
prepare() {
- chmod +x "liteide-x$pkgver/build/"*_*.sh
+ chmod +x liteide-x$pkgver/build/*_*.sh
- # Fix for FS#4662 until fixed by upstream
+ # Fix for FS#4662 (until fixed by upstream)
cd "liteide-x$pkgver/liteidex/os_deploy/linux/liteenv"
sed -i 's|^GOROOT|#GOROOT|g' linux{32,64}.env
@@ -35,19 +34,17 @@
}
build() {
- cd "liteide-x$pkgver/build"
-
+ cd liteide-x$pkgver/build
mkdir -p go
+ export GO111MODULE=off
export GOPATH="$PWD/go"
export QTDIR=/usr
-
./update_pkg.sh
./build_linux.sh
}
package() {
- cd "liteide-x$pkgver/build/liteide"
-
+ cd liteide-x$pkgver/build/liteide
install -d \
"$pkgdir/usr/lib/liteide" \
"$pkgdir/usr/share/liteide" \
@@ -56,7 +53,7 @@
# Package executables
ls bin
for binary in gotools gocode liteide; do # goimports
- install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary"
+ install -Dm755 bin/$binary "$pkgdir/usr/bin/$binary"
done
ln -s /usr/bin/liteide "$pkgdir/usr/bin/golangide"
More information about the arch-commits
mailing list