7 pkgdesc="SAOImage DS9: Astronomical Data Visualization Application"
8 url="http://hea-www.harvard.edu/RD/ds9/"
10 [ "${CARCH}" = 'i686' ] && _arch=''
11 [ "${CARCH}" = 'x86_64' ] && _arch='64'
20 source=(http://hea-www.harvard.edu/saord/download/$_pkgname/linux${_arch}/$_pkgname.linux${_arch}.${pkgver}.tar.gz
22 'ds9-bin.profile.csh')
24 [ "${CARCH}" = 'i686' ] && md5sums=('3040efff306102e89a2565e031c4c497')
25 [ "${CARCH}" = 'x86_64' ] && md5sums=('5fb04651d523a863ecdfd214a283ef5e')
27 md5sums+=('ed7643486666a5e090e4baf6dad9fa2b'
28 '0b94a6f838324e7bae03998210fb75ce')
34 install -D ${srcdir}/$pkgname.profile $pkgdir/etc/profile.d/$pkgname.sh
35 install -D ${srcdir}/$pkgname.profile.csh $pkgdir/etc/profile.d/$pkgname.csh
37 mkdir -p $pkgdir/usr/local/bin
38 install -Dm755 ds9 $pkgdir/usr/local/bin