mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-25 02:22:13 +08:00
eclipse: 4.4.0
This commit is contained in:
parent
e21e8c1dc0
commit
855f678768
@ -1,38 +1,35 @@
|
||||
|
||||
pkgname=eclipse
|
||||
pkgver=4.3.2
|
||||
pkgver=4.4.0
|
||||
pkgrel=1
|
||||
_release=kepler-SR2
|
||||
_release=luna-R
|
||||
pkgdesc="An IDE for Java and other languages."
|
||||
arch=('x86_64')
|
||||
url="http://eclipse.org"
|
||||
depends=('java-environment' 'gtk2' 'unzip' 'libwebkit-gtk2' 'libxtst')
|
||||
install=${pkgname}.install
|
||||
makedepends=('zip')
|
||||
license=("EPL/1.0")
|
||||
|
||||
# The file eclipse.png in this directory was fetched from:
|
||||
#
|
||||
# http://download.eclipse.org/eclipse/eclipse/downloads/drops4/R-${pkgver}-${_date}/news/images/icon.png
|
||||
|
||||
source=("http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/$pkgname-standard-$_release-linux-gtk-x86_64.tar.gz"
|
||||
source=("http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/${pkgname}-standard-${_release}-linux-gtk-x86_64.tar.gz"
|
||||
'eclipse.png'
|
||||
'eclipse.desktop')
|
||||
md5sums=('b72d5a6caae4e2fd86be2f2f134fc8cb'
|
||||
'04e05dda343b1b0c521a1e094e69f98b'
|
||||
'ba8a37e30a7ebd69774cec87c69e8c44')
|
||||
sha256sums=('0ca7ab6c4a9dafc373e134848c9bec9e7a038c0db0c25c136fe56e3d51df5c1f'
|
||||
'91eb03b8ff33e2b05b6c0b1fa5ff145666833674ba3bd2aa2732fa0a3651c03d'
|
||||
'88daed5095d908a4f4c273aafcd2855899f2516766a8958b9a653e030daa173c')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
cd ${pkgname}
|
||||
|
||||
# create directories
|
||||
install -dm755 "${pkgdir}"/usr/{share/{applications,licenses/eclipse},bin}
|
||||
|
||||
# install eclipse
|
||||
install -d -m755 "${pkgdir}/usr/share"
|
||||
cp -ar "${srcdir}/eclipse" "${pkgdir}/usr/share/"
|
||||
|
||||
# install misc
|
||||
install -d "${pkgdir}/usr/bin" \
|
||||
"${pkgdir}/usr/share/applications"
|
||||
|
||||
# install bin symlink
|
||||
ln -s "/usr/share/eclipse/eclipse" "$pkgdir/usr/bin/"
|
||||
install -m644 "${srcdir}/eclipse.desktop" "${pkgdir}/usr/share/applications/"
|
||||
@ -40,13 +37,12 @@ package() {
|
||||
# install icon
|
||||
for _i in 16 32 48 256; do
|
||||
install -Dm644 plugins/org.eclipse.platform_*/eclipse${_i}.png \
|
||||
"$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse.png"
|
||||
"${pkgdir}/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse.png"
|
||||
done
|
||||
|
||||
install -D -m644 "${srcdir}/eclipse.png" \
|
||||
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/eclipse.png"
|
||||
install -Dm644 "${srcdir}/eclipse.png" \
|
||||
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/eclipse.png"
|
||||
|
||||
# license
|
||||
install -d -m755 "${pkgdir}/usr/share/licenses/eclipse/"
|
||||
cp -a epl-v10.html "$pkgdir/usr/share/licenses/eclipse/epl-v10.html"
|
||||
cp -a epl-v10.html "${pkgdir}/usr/share/licenses/eclipse/epl-v10.html"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user