Date: Sunday, August 7, 2022 @ 11:53:22 Author: arodseth Revision: 1260520
upgpkg: liteide 38.0-1 Modified: liteide/trunk/PKGBUILD ----------+ PKGBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-07 11:52:39 UTC (rev 1260519) +++ PKGBUILD 2022-08-07 11:53:22 UTC (rev 1260520) @@ -4,8 +4,8 @@ # Contributor: Matthew Zimmerman <[email protected]> pkgname=liteide -pkgver=37.4 -pkgrel=3 +pkgver=38.0 +pkgrel=1 pkgdesc='IDE for editing and building projects written in Go' license=(LGPL) arch=(x86_64) @@ -15,28 +15,28 @@ optdepends=('go: go compiler' 'gcc-go: go compiler') options=(!strip !emptydirs) -source=("$pkgname-x$pkgver::git+$url#commit=b329ca4dca0cb19c0c1ca96e10bf350066640bd2") # tag: x37.4 -sha256sums=('SKIP') +source=("$pkgname-x$pkgver::git+$url#commit=c43af2ebd9e1550da284ffb835468912cffb535c") # tag: x38.0 +b2sums=('SKIP') prepare() { - chmod +x liteide-x$pkgver/build/*_*.sh + cd $pkgname-x$pkgver + chmod +x 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' linux{32,64}.env + sed -i 's|^GOROOT|#GOROOT|g' liteidex/os_deploy/linux/liteenv/linux{32,64}.env # Fix the libpng warning: iCCP: known incorrect sRGB profile - find "$srcdir" -type f -iname '*.png' -exec mogrify -strip '{}' \; + find . -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/build_linux.sh } build() { cd liteide-x$pkgver/build mkdir -p go - export GO111MODULE=off export GOPATH="$PWD/go" export QTDIR=/usr ./update_pkg.sh @@ -51,7 +51,6 @@ "$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
