1 # Maintainer: Igor Dejanovic <igor.dejanovic (at) gmail.com>
2 # Contributor: Igor Dejanovic <igor.dejanovic (at) gmail.com>
4 pkgname=eclipse-mercurial
9 pkgdesc="Eclipse plugin for Mercurial Version Control System"
11 url="https://code.google.com/a/eclipselabs.org/p/mercurialeclipse/"
12 depends=('eclipse>=3.4' 'mercurial')
13 source=("http://mercurialeclipse.eclipselabs.org.codespot.com/files/com.vectrace.MercurialEclipse_$pkgver.$_pkgver.jar"
14 "http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable/features/mercurialeclipse_$pkgver.$_pkgver.jar")
15 noextract=("com.vectrace.MercurialEclipse_$pkgver.$_pkgver.jar"
16 "mercurialeclipse_$pkgver.$_pkgver.jar")
19 install_dir=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
20 mkdir -p $install_dir/{features,plugins}
22 install -m644 ${srcdir}/mercurialeclipse_$pkgver.$_pkgver.jar $install_dir/features/ || return 1
23 install -m644 ${srcdir}/com.vectrace.MercurialEclipse_$pkgver.$_pkgver.jar $install_dir/plugins/ || return 1
26 md5sums=('18d732ce56f056cb966cbeb3c71150a0'
27 'c0774450e774cf65ccaa714c999efad6')