updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ds9-bin / PKGBUILD
blobe4c234f0798d7f30ac4c4c370cf339b790fe55f8
1 # Maintainer:  <clu>
3 pkgname=ds9-bin  
4 _pkgname=ds9
5 pkgver=6.2
6 pkgrel=1 
7 pkgdesc="SAOImage DS9: Astronomical Data Visualization Application"
8 url="http://hea-www.harvard.edu/RD/ds9/"
9 arch=('i686' 'x86_64')
10 [ "${CARCH}" = 'i686' ] && _arch=''
11 [ "${CARCH}" = 'x86_64' ] && _arch='64'
12 license=('GPL2')
13 options=(!strip)
14 depends=()
15 makedepends=()
16 conflicts=()
17 replaces=()
18 backup=()
19 #install=
20 source=(http://hea-www.harvard.edu/saord/download/$_pkgname/linux${_arch}/$_pkgname.linux${_arch}.${pkgver}.tar.gz
21   'ds9-bin.profile'
22   'ds9-bin.profile.csh')
24 [ "${CARCH}" = 'i686' ] && md5sums=('3040efff306102e89a2565e031c4c497')
25 [ "${CARCH}" = 'x86_64' ] && md5sums=('5fb04651d523a863ecdfd214a283ef5e')
27 md5sums+=('ed7643486666a5e090e4baf6dad9fa2b'
28   '0b94a6f838324e7bae03998210fb75ce')
31 build() {
32   cd $srcdir
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
36   
37   mkdir -p $pkgdir/usr/local/bin
38   install -Dm755 ds9 $pkgdir/usr/local/bin