diff options
author | Arthur Zamarin | 2015-06-08 11:42:34 +0300 |
---|---|---|
committer | Arthur Zamarin | 2015-06-08 11:42:34 +0300 |
commit | 5ce4a5655ccaf74df89e548bd6b1890a38684a6a (patch) | |
tree | 4ef55fe8ca35152defb467f24734f9495ec05f20 | |
download | aur-5ce4a5655ccaf74df89e548bd6b1890a38684a6a.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9e9046950ec0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = eclipse-dltk-core + pkgdesc = Support for dynamic languages in Eclipse + pkgver = 5.0 + pkgrel = 3 + url = http://www.eclipse.org/dltk/ + arch = i686 + arch = x86_64 + license = EPL + depends = eclipse-emf + optdepends = eclipse-dltk-core-index + optdepends = eclipse-dltk-javascript + optdepends = eclipse-dltk-mylyn + optdepends = eclipse-dltk-python + optdepends = eclipse-dltk-rse + optdepends = eclipse-dltk-ruby + optdepends = eclipse-dltk-tcl + replaces = eclipse-dltk-core-index + source = http://www.eclipse.org/downloads/download.php?r=1&file=/technology/dltk/downloads/drops/R5.0/R-5.0-201306060709/dltk-core-I-201306060709.zip + md5sums = fa828874f889e86fdbb050e1b164017b + +pkgname = eclipse-dltk-core + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..188ff9656478 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Shanto <shanto@hotmail.com> +# Contributor: Jonathan Wiersma <archaur at jonw dot org> + +pkgname=eclipse-dltk-core +pkgver=5.0 +pkgrel=3 +_pkgdate=201306060709 +pkgdesc="Support for dynamic languages in Eclipse" +arch=('i686' 'x86_64') +url="http://www.eclipse.org/dltk/" +license=('EPL') +depends=("eclipse-emf") +replaces=("eclipse-dltk-core-index") +optdepends=("eclipse-dltk-core-index" "eclipse-dltk-javascript" "eclipse-dltk-mylyn" "eclipse-dltk-python" "eclipse-dltk-rse" "eclipse-dltk-ruby" "eclipse-dltk-tcl") +_mirror="http://www.eclipse.org/downloads/download.php?r=1&file=" +source=("$_mirror/technology/dltk/downloads/drops/R${pkgver:0:3}/R-$pkgver-$_pkgdate/${pkgname#eclipse-}-I-$_pkgdate.zip") +md5sums=('fa828874f889e86fdbb050e1b164017b') + +package() { + _dest=$pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/eclipse + cd $srcdir + install -dm755 $_dest + find features plugins -type f -exec \ + install -Dm644 {} $_dest/{} \; + # DLTK requires features/*.jar files extracted + find $_dest/features -type f -name '*.jar' | while read f; do + install -dm755 ${f%*.jar} && cd ${f%*.jar} + jar xf $f && rm $f + done +} |