summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 294dbf107a1fd96bc6e5174356addd3fbad1bb16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer:  <clu>

pkgname=ds9-bin  
_pkgname=ds9
pkgver=8.6
pkgrel=1
pkgdesc="SAOImage DS9: Astronomical Data Visualization Application"
url="http://hea-www.harvard.edu/RD/ds9/"
arch=('x86_64')
license=('GPL2')
options=(!strip)
provides=(${_pkgname})
depends=()
makedepends=()
conflicts=(ds9)
replaces=()
backup=()
# Hooray arch!
#https://ds9.si.edu/download/archlinuxx86/ds9.archlinuxx86.8.6.tar.gz
source=(https://ds9.si.edu/download/archlinuxx86/${_pkgname}.archlinuxx86.${pkgver}.tar.gz
        ds9.desktop
        ds9.png)
md5sums=('16017e980234ab984d14f9d64e3456a8'
         'f1738e4ec665ae9afd1b65b86e6a07f1'
         '9297d5738f5f462831075c483dc785d5')

# ds9.desktop
#md5sums+=('195b619383718be1dffe94e39975f006')

package() {
  cd ${srcdir}

  install -Dm755 ds9 ${pkgdir}/usr/bin/${_pkgname}
  install -Dm644 ${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
  install -Dm644 ${_pkgname}.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png
}