public
Last active

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# Contributor: Jonathan Wiersma <archaur at jonw dot org>
# Contributor: Kim Silkeb?kken <kimmern@lokaltog.net>
 
pkgname=eclipse-dltk-core
_stream="R2.0"
_buildtype="R" # R => Released, M => Maintenance, S => Stable, I => Integration
_builddate="201006161315"
pkgver="${_stream}_${_builddate}"
pkgrel=1
pkgdesc="Support for dynamic languages in Eclipse"
arch=('i686' 'x86_64')
url="http://www.eclipse.org/dltk/"
license=('EPL')
depends=("eclipse")
optdepends=("eclipse-dltk-javascript" "eclipse-dltk-python" "eclipse-dltk-rse" "eclipse-dltk-ruby" "eclipse-dltk-tcl" "eclipse-dltk-mylyn")
noextract=("$pkgname-$pkgver.zip")
 
_urlfile=/technology/dltk/downloads/drops/${_stream}/${_buildtype}-${_stream:1:4}-${_builddate}/dltk-core-${_buildtype}-${_stream:1:4}-${_builddate}.zip
source=("$pkgname-$pkgver.zip::http://www.eclipse.org/downloads/download.php?file=${_urlfile}&url=http://download.eclipse.org${_urlfile}&mirror_id=1")
 
build() {
cd $srcdir || return 1
jar xf $pkgname-$pkgver.zip || return 1
install -dm755 $pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/ || return 1
find eclipse -type f -exec install -Dm644 {} \
$pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/{} \; || return 1
}
md5sums=('dcd21816be71b280478291b1f25628e8')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.