summaryrefslogtreecommitdiff
path: root/extra/eclipse/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/eclipse/PKGBUILD')
-rw-r--r--extra/eclipse/PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/extra/eclipse/PKGBUILD b/extra/eclipse/PKGBUILD
index 99cb155ef..97b79178d 100644
--- a/extra/eclipse/PKGBUILD
+++ b/extra/eclipse/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 191838 2013-07-31 09:34:14Z ioni $
+# $Id: PKGBUILD 198727 2013-11-02 10:00:23Z ioni $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Andrew Wright <andreww@photism.org>
@@ -6,37 +6,39 @@
# Contributor: Marco Crosio <marco.crosio@gmail.com>
pkgname=eclipse
-pkgver=4.3
-pkgrel=1
-_date=201306052000
+pkgver=4.3.1
+pkgrel=2
+_date=201309111000
pkgdesc="An IDE for Java and other languages"
arch=('i686' 'x86_64' 'mips64el')
url="http://eclipse.org"
depends=('java-environment' 'gtk2' 'unzip' 'webkitgtk2' 'libxtst')
install=${pkgname}.install
makedepends=('zip')
-license=("EPL/1.1")
+license=("EPL/1.0")
source=("ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk.tar.gz"
'eclipse.sh' 'eclipse.desktop' 'eclipse.svg')
-md5sums=('8046626198b529c2e292022c39c18262'
+md5sums=('04880311281ff9de71a7d1def630b29e'
'7ea99a30fbaf06ec29261541b8eb1e23'
'ba2cf02c48e6e35bfe3685401c26bb5b'
'77cff7543ccf7e177cb6667f5a20ce19')
[ "$CARCH" = "x86_64" ] && source[0]="ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk-$CARCH.tar.gz"
-[ "$CARCH" = "x86_64" ] && md5sums[0]='8dba840856c5ca38b3c08ebac9a47cb8'
+[ "$CARCH" = "x86_64" ] && md5sums[0]='61e44d550751d3b176fbe56dd0f75060'
package() {
# install eclipse
- install -m755 -d "$pkgdir/usr/share"
+ install -m755 -d "$pkgdir/usr/share/licenses/eclipse/"
mv eclipse "$pkgdir/usr/share/"
# install misc
install -d $pkgdir/usr/bin $pkgdir/usr/share/applications \
- $pkgdir/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256}/apps
+ $pkgdir/usr/share/icons/hicolor/apps
install -m755 eclipse.sh "$pkgdir/usr/bin/eclipse"
install -m644 eclipse.desktop "$pkgdir/usr/share/applications/"
# install icon
install -Dm644 "$srcdir"/eclipse.svg \
"$pkgdir"/usr/share/icons/hicolor/scalable/apps/eclipse.svg
sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" "$pkgdir"/usr/share/eclipse/plugins/org.apache.ant_1.8.4.v201303080030/bin/runant.py
+
+ mv $pkgdir/usr/share/eclipse/epl-v10.html "$pkgdir/usr/share/licenses/eclipse/epl-v10.html"
}