1 # Contributor: André Fettouhi <A.Fettouhi@gmail.com>
3 pkgname=eclipse-photran
8 pkgdesc="IDE for Fortran 77, 90, and 95 based on Eclipse and the CDT"
9 url="http://www.eclipse.org/photran/"
12 depends=("eclipse>=3.7" "eclipse-cdt>=8.0.0")
13 source=(http://download.eclipse.org/tools/ptp/builds/${_ptprel}/I.I${_ptptag}/ptp-master-${_ptprel}-I${_ptptag}.zip)
15 md5sums=('6206e9376737e442560d6d6540b07833')
18 installdir="${pkgdir}"/usr/share/eclipse/dropins/photran
20 install -d "${installdir}"/eclipse/{plugins,features}
21 cp plugins/org.eclipse.photran.*.jar "${installdir}"/eclipse/plugins
22 cp plugins/org.eclipse.rephraserengine.*.jar "${installdir}"/eclipse/plugins
23 rm "${installdir}"/eclipse/plugins/*intel*
24 rm "${installdir}"/eclipse/plugins/*xlf*
25 cp features/org.eclipse.photran_$pkgver.${_ptptag}.jar "${installdir}"/eclipse/features
26 cp features/org.eclipse.rephraserengine_$pkgver.${_ptptag}.jar "${installdir}"/eclipse/features