updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / xcrysden-bin / PKGBUILD
blob0ea55869b708b60134a79fa99d9eca53640e5260
1 # Maintainer: Vit <vitruss@gmail.com>
3 pkgname=xcrysden-bin
4 pkgver=1.5.24
5 pkgrel=3
6 pkgdesc="crystalline and molecular structure visualisation program (shared binary x86_64 version)"
7 arch=('x86_64')
8 url="http://www.xcrysden.org/"
9 license=('GPLv2')
10 source=(http://www.xcrysden.org/download/xc-${pkgver}-linux_x86_64-shared.tar.gz
11 xcrysden.sh)
12 depends=('libmeschach' 'tk')
13 md5sums=('22f5357c3da6d266ba852b5c9730bd71'                                                                      
14          '8c641e29d1b7ab6133c6006ca202a62f')
16 build() {
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