summaryrefslogtreecommitdiff
path: root/community/ccfits/PKGBUILD
blob: 7ab94bfd9d09029b38c68e91add1fd1fd62fa070 (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
# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z  $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: <clu>
# Contributor: Jose San Juan <sanjuan@tng.iac.es>

pkgname=ccfits
pkgver=2.4
pkgrel=4
pkgdesc="Object Oriented Interface to the CFITSIO Library"
arch=('i686' 'x86_64')
url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/"
license=('custom')
depends=('cfitsio')
source=(http://heasarc.gsfc.nasa.gov/docs/software/fitsio/${pkgname}/CCfits-${pkgver}.tar.gz)
md5sums=('dd9a11d964590dd5f3fd5a3491b2c1ce')

build() {
  cd "${srcdir}"/CCfits

  ./configure --with-cfitsio-libdir=/usr/lib --prefix=/usr
  make 
}

package() {
  cd "${srcdir}"/CCfits

  make DESTDIR="${pkgdir}" install

#install license
  install -D -m644 License.txt "${pkgdir}/usr/share/licenses/$pkgname/License.txt"
}