diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-31 03:27:12 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-31 03:27:12 +0000 |
commit | 5a81550adad5ccde4ad6924cfee2b2ef96d02c98 (patch) | |
tree | 5baa7121fc2147a5e1aae552ff6a715922e35aaa /community/liteide/PKGBUILD | |
parent | 53db844f5c8c3d0a6752bb40f65c613020084541 (diff) |
Tue Dec 31 03:24:15 UTC 2013
Diffstat (limited to 'community/liteide/PKGBUILD')
-rw-r--r-- | community/liteide/PKGBUILD | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/community/liteide/PKGBUILD b/community/liteide/PKGBUILD index d94bb5526..9069d0264 100644 --- a/community/liteide/PKGBUILD +++ b/community/liteide/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 99195 2013-10-25 12:43:33Z arodseth $ +# $Id: PKGBUILD 103220 2013-12-30 14:57:33Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: spambanane <happy.house@gmx.de> # Contributor: Matteo <matteo.dek@gmail.com> +# Contributor: Matthew Zimmerman <mzimmerman@gmail.com> pkgname=liteide -pkgver=19 -pkgrel=4 +pkgver=20.1 +pkgrel=1 pkgdesc='IDE for editing and building projects written in the Go programming language ("golangide")' license=('LGPL') arch=('x86_64' 'i686') @@ -13,25 +14,29 @@ url='https://github.com/visualfc/liteide' depends=('go' 'qt5-webkit') replaces=('golangide') conflicts=('golangide') -makedepends=('gendesk') +makedepends=('gendesk' 'git') options=('!strip' '!emptydirs') source=("$pkgname.zip::https://github.com/visualfc/liteide/archive/x$pkgver.zip" - 'liteide.png' - 'liteide.sh') -sha256sums=('182694341940878cf5df4f083a750659bffc97eb4ae517410e157bebc14f97df' - '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697' - '5d6f05b072586c31e3a4a08ea2d7332dd0a78f5db6b2d088fb76e8cb032672f0') + 'liteide.png') +sha256sums=('3a3e664e9a76745308fd14eb89b4376f1fb1ac1195b8e2cefcef922e8e93dde2' + '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697') prepare() { - gendesk -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc" + gendesk -f -n --name 'Golang IDE' --pkgname "$pkgname" --pkgdesc "$pkgdesc" cd "liteide-x$pkgver/build" - chmod +x build_linux.sh + chmod +x *_*.sh } build() { cd "liteide-x$pkgver/build" - QTDIR=/usr ./build_linux.sh + export QTDIR=/usr + + mkdir -p go + export GOPATH=`pwd`/go + + ./update_pkg.sh + ./build_linux.sh # Fixing insecure RPATH, need to test if this is still needed cd ../liteidex @@ -40,7 +45,7 @@ build() { } package() { - cd "liteide-x$pkgver/build/liteide" + cd "liteide-x$pkgver/build/liteide" msg2 'Creating directories...' mkdir -p \ @@ -49,12 +54,10 @@ package() { "$pkgdir/usr/share/doc/$pkgname" msg2 'Packaging executables...' - for binary in goastview goapi goexec godocview; do + for binary in goastview goapi goexec godocview liteide; do install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary" done - install -Dm755 bin/liteide "$pkgdir/usr/bin/liteide.elf" - install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" - install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/golangide" + ln -s /usr/bin/liteide "$pkgdir/usr/bin/golangide" cd "$srcdir/liteide-x$pkgver/liteidex" |