eclipse 4.3.1

This commit is contained in:
AlmAck 2013-11-03 20:37:42 +01:00
parent c946d13a9d
commit f57cc85709

View File

@ -1,15 +1,15 @@
pkgname=eclipse
pkgver=4.3
pkgrel=2
_date=201306052000
pkgver=4.3.1
pkgrel=1
_date=201309111000
pkgdesc="An IDE for Java and other languages."
arch=('x86_64')
url="http://eclipse.org"
depends=('java-environment' 'gtk2' 'unzip' 'libwebkit-gtk2' 'libxtst' 'filesystem-extra')
install=${pkgname}.install
makedepends=('zip')
license=("EPL/1.1")
license=("EPL/1.0")
# The file eclipse.png in this directory was fetched from:
#
@ -20,7 +20,7 @@ license=("EPL/1.1")
source=("ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-${pkgver}-${_date}/${pkgname}-SDK-${pkgver}-linux-gtk-x86_64.tar.gz"
'eclipse.png'
'eclipse.desktop')
md5sums=('8dba840856c5ca38b3c08ebac9a47cb8'
md5sums=('61e44d550751d3b176fbe56dd0f75060'
'04e05dda343b1b0c521a1e094e69f98b'
'ba8a37e30a7ebd69774cec87c69e8c44')
@ -38,19 +38,24 @@ package() {
# install misc
install -d "${pkgdir}/extra/usr/bin" \
"${pkgdir}/extra/usr/share/applications" \
"${pkgdir}/extra/usr/share/icons/hicolor"/{16x16,32x32,48x48}/apps
"${pkgdir}/extra/usr/share/icons/hicolor"/{16x16,32x32,48x48,256x256}/apps
# install bin symlink
ln -s "/extra/usr/share/eclipse/eclipse" "$pkgdir/extra/usr/bin/"
install -m644 "${srcdir}/eclipse.desktop" "${pkgdir}/extra/usr/share/applications/"
# install icon
ln -s "/extra/usr/share/eclipse/plugins/org.eclipse.sdk_${pkgver}.v${_date}/eclipse.png" "${pkgdir}/extra/usr/share/icons/hicolor/16x16/apps/eclipse.png"
ln -s "/extra/usr/share/eclipse/plugins/org.eclipse.sdk_${pkgver}.v${_date}/eclipse32.png" "${pkgdir}/extra/usr/share/icons/hicolor/32x32/apps/eclipse.png"
ln -s "/extra/usr/share/eclipse/plugins/org.eclipse.sdk_${pkgver}.v${_date}/eclipse48.png" "${pkgdir}/extra/usr/share/icons/hicolor/48x48/apps/eclipse.png"
ln -s "/extra/usr/share/eclipse/plugins/org.eclipse.sdk_${pkgver}.v${_date}/eclipse256.png" "${pkgdir}/extra/usr/share/icons/hicolor/256x256/apps/eclipse.png"
# install icon
install -D -m644 "${srcdir}/eclipse.png" \
"${pkgdir}/extra/usr/share/icons/hicolor/512x512/apps/eclipse.png"
# license
mv $pkgdir/usr/share/eclipse/epl-v10.html "$pkgdir/usr/share/licenses/eclipse/epl-v10.html"
}
# vim:set ts=2 sw=2 et: