updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / eclipse-mercurial / PKGBUILD
blobc025abda39dedb3cc76074d418aec5e33cca4a74
1 # Maintainer: Igor Dejanovic <igor.dejanovic (at) gmail.com>
2 # Contributor: Igor Dejanovic <igor.dejanovic (at) gmail.com>
4 pkgname=eclipse-mercurial
5 pkgver=1.9.1
6 _pkgver=201111240034
7 pkgrel=1
8 arch=('i686' 'x86_64')
9 pkgdesc="Eclipse plugin for Mercurial Version Control System"
10 license=('EPL')
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")
17          
18 package() {
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')