From c183da9d3df5445f5021cd6563012ba2abfc393e Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 6 Mar 2014 03:42:24 +0000 Subject: Thu Mar 6 03:38:39 UTC 2014 --- community/liteide/PKGBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'community/liteide') diff --git a/community/liteide/PKGBUILD b/community/liteide/PKGBUILD index 9069d0264..e6808bb8d 100644 --- a/community/liteide/PKGBUILD +++ b/community/liteide/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 103220 2013-12-30 14:57:33Z arodseth $ +# $Id: PKGBUILD 106526 2014-03-05 18:06:03Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: spambanane # Contributor: Matteo @@ -6,7 +6,7 @@ pkgname=liteide pkgver=20.1 -pkgrel=1 +pkgrel=2 pkgdesc='IDE for editing and building projects written in the Go programming language ("golangide")' license=('LGPL') arch=('x86_64' 'i686') @@ -22,9 +22,8 @@ sha256sums=('3a3e664e9a76745308fd14eb89b4376f1fb1ac1195b8e2cefcef922e8e93dde2' '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697') prepare() { - gendesk -f -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc" - cd "liteide-x$pkgver/build" - chmod +x *_*.sh + gendesk -f -n --name 'LiteIDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc" + chmod +x "liteide-x$pkgver/build/"*_*.sh } build() { @@ -45,7 +44,7 @@ build() { } package() { - cd "liteide-x$pkgver/build/liteide" + cd "liteide-x$pkgver/build/liteide" msg2 'Creating directories...' mkdir -p \ @@ -85,6 +84,10 @@ package() { msg2 'Cleaning up...' rm -rf "$pkgdir/usr/share/$pkgname/doc" + + # Fix for FS#38781 + mkdir -p "$pkgdir/usr/share/$pkgname/linux" + ln -s "/usr/share/$pkgname/liteenv" "$pkgdir/usr/share/$pkgname/linux/liteenv" } # vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf