Date: Monday, January 28, 2019 @ 13:21:56 Author: arodseth Revision: 428318
upgpkg: liteide 35.3-1 Modified: liteide/trunk/PKGBUILD ----------+ PKGBUILD | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-01-28 13:13:40 UTC (rev 428317) +++ PKGBUILD 2019-01-28 13:21:56 UTC (rev 428318) @@ -4,22 +4,21 @@ # Contributor: Matthew Zimmerman <[email protected]> pkgname=liteide -pkgver=35.1 +pkgver=35.3 pkgrel=1 pkgdesc='IDE for editing and building projects written in the Go programming language' -license=('LGPL') -arch=('x86_64') +license=(LGPL) +arch=(x86_64) url='https://github.com/visualfc/liteide' -makedepends=('gcc-go' 'gendesk' 'git' 'imagemagick' 'mercurial' 'setconf') -depends=('go-tools' 'qt5-webkit') +makedepends=(gcc-go git imagemagick mercurial setconf) +depends=(go-tools qt5-webkit) optdepends=('go: go compiler' 'gcc-go: go compiler') -options=('!strip' '!emptydirs') +options=(!strip !emptydirs) source=("$pkgname-x$pkgver::git+https://github.com/visualfc/liteide.git#tag=x$pkgver") md5sums=('SKIP') prepare() { - gendesk -f -n --name LiteIDE --pkgname "$pkgname" --pkgdesc "$pkgdesc" chmod +x "liteide-x"$pkgver"/build/"*_*.sh # Fix for FS#4662 until fixed by upstream @@ -45,13 +44,14 @@ package() { cd "liteide-x$pkgver/build/liteide" - msg2 'Creating directories...' - mkdir -p \ + # Directories + install -d \ "$pkgdir/usr/lib/liteide" \ "$pkgdir/usr/share/liteide" \ "$pkgdir/usr/share/doc/$pkgname" - msg2 'Packaging executables...' + # Executables + ls bin for binary in gotools gocode liteide; do # goimports install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary" done @@ -59,14 +59,14 @@ cd "$srcdir/liteide-x$pkgver/liteidex" - msg2 'Packaging resources...' + # Resources cp -r deploy/* os_deploy/* "$pkgdir/usr/share/liteide" - msg2 'Packaging libraries and plugins...' + # Libraries and plugins cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide" chmod -x "$pkgdir/usr/lib/liteide/plugins/"* - msg2 'Packaging license and license exception...' + # License and license exception install -Dm644 LICENSE.LGPL \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 LGPL_EXCEPTION.TXT \ @@ -74,14 +74,14 @@ cd "$srcdir" - msg2 'Packaging desktop shortcut...' - install -Dm644 "$pkgname.desktop" \ + # 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" - msg2 'Cleaning up...' + # Cleaning up rm -rf "$pkgdir/usr/share/$pkgname/doc" # Fix for FS#38781
