updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / eclipse-redmine-mylyn / PKGBUILD
blobee24ba82267e0e1f51afc750b10e0c97be0d9fe9
1 # Maintainer: Nuno Araujo <nuno.araujo@russo79.com>
2 pkgname=eclipse-redmine-mylyn
3 pkgver=0.3.5
4 pkgrel=1
5 pkgdesc="Eclipse Mylyn plug-in for Redmine bug tracking / project management."
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/apps/wordpress/redmin-mylyncon/"
8 license=('EPL')
9 depends=('eclipse' 'eclipse-mylyn')
10 source=("http://downloads.sourceforge.net/project/redmin-mylyncon/eclipse-plugin-indigo-jee.tgz")
12 md5sums=('6936afb262191203e575e76058423304')
14 package() {
15   _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
17   cd ${srcdir}/updatesite
19   # Features
20   find features -type f | while read _feature ; do
21     if [[ ${_feature} =~ (.*\.jar$) ]] ; then
22       install -dm755 ${_dest}/${_feature%*.jar}
23       cd ${_dest}/${_feature/.jar}
24       jar xf ${srcdir}/updatesite/${_feature} || return 1
25     else
26       install -Dm644 ${_feature} ${_dest}/${_feature}
27     fi
28   done
30   # Plugins
31   find plugins -type f | while read _plugin ; do
32     install -Dm644 ${_plugin} ${_dest}/${_plugin}
33   done
35 # vim:set ts=2 sw=2 et: