1 # Maintainer: Thorsten Bonck <thorsten at bonck.net>
2 # Former Maintainer: Hector Mtz-Seara <hseara__*a*t*__gmail*.*com>
3 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
4 # Contributor: Michal Bozon <michal.bozon__at__gmail.com>
9 changelog=molden.changelog
10 pkgdesc="Z-matrix molecular builder and viewer of quantum chemical calculations"
11 arch=('i686' 'x86_64')
12 url="http://www.cmbi.ru.nl/molden/molden.html"
14 depends=('mesa' 'libxmu')
15 makedepends=('gcc-fortran')
16 source=(ftp://ftp.cmbi.ru.nl/pub/molgraph/$pkgname/$pkgname$pkgver.tar.gz
18 md5sums=('749e13f8b3e3b41f2cdeb14f1a527b74'
19 'd49d3dc4b7b3a449bb48c48a679d10b6')
22 cd "$srcdir"/$pkgname$pkgver
25 mv -f CopyRight LICENSE
26 make molden gmolden ambfor/{ambfor,ambmd} || return 1
29 install -m755 -d "$pkgdir"/usr/bin
30 install -m755 -t "$pkgdir"/usr/bin molden gmolden ambfor/{ambfor,ambmd}
32 # install licenses and .desktop file
33 install -m755 -d "$pkgdir"/usr/share/{licenses/$pkgname,applications}
34 install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname {COMMERCIAL_,}LICENSE
35 install -m644 -t "$pkgdir"/usr/share/applications ../$pkgname.desktop