1 # Maintainer: Vit <vitruss@gmail.com>
6 pkgdesc="crystalline and molecular structure visualisation program (shared binary x86_64 version)"
8 url="http://www.xcrysden.org/"
10 source=(http://www.xcrysden.org/download/xc-${pkgver}-linux_x86_64-shared.tar.gz
12 depends=('libmeschach' 'tk')
13 md5sums=('22f5357c3da6d266ba852b5c9730bd71'
14 '8c641e29d1b7ab6133c6006ca202a62f')
17 mkdir -p ${pkgdir}/usr/lib
18 mkdir -p ${pkgdir}/opt
19 ln -s /usr/lib/libtk8.5.so ${pkgdir}/usr/lib/libtk8.5.so.0
20 ln -s /usr/lib/libtcl8.5.so ${pkgdir}/usr/lib/libtcl8.5.so.0
21 cp -r ${srcdir}/XCrySDen-${pkgver}-bin-shared ${pkgdir}/opt
22 install -D xcrysden.sh ${pkgdir}/etc/profile.d/xcrysden.sh