updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / eclipse-photran / PKGBUILD
blob95afea0b4ce806a59eed86c00ee87644bc1f0b86
1 # Contributor: AndrĂ© Fettouhi <A.Fettouhi@gmail.com>
3 pkgname=eclipse-photran
4 pkgver=7.0.4
5 _ptprel=5.0.4
6 _ptptag=201111031513
7 pkgrel=1
8 pkgdesc="IDE for Fortran 77, 90, and 95 based on Eclipse and the CDT"
9 url="http://www.eclipse.org/photran/"
10 arch=('any')
11 license=('custom')
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')
17 build() {
18         installdir="${pkgdir}"/usr/share/eclipse/dropins/photran
19         cd "${srcdir}"
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