# Maintainer: Yigit Dallilar pkgname=isis pkgver=1.6.2_47 pkgrel=2 pkgdesc="ISIS is designed to facilitate the interpretation and analysis of high resolution X-ray spectra." url="http://space.mit.edu/asc/isis/" arch=('x86_64') license=('GPL2') depends=('slang' 'heasoft' 'pgplot' 'cfitsio') makedepends=('gcc-fortran') provides=() conflicts=() replaces=() backup=() source=("ftp://space.mit.edu/pub/cxc/ISIS/${pkgname}-${pkgver//_/-}.tar.gz") sha1sums=('cfb8c55d41d856d02cc9d231ca1f29e3893256ea') install="${pkgname}.install" build() { _glibcver=$(pacman -Q glibc | cut -c7-10) HEADAS=/opt/heasoft/x86_64-pc-linux-gnu-libc${_glibcver} cd $srcdir/${pkgname}-${pkgver//_/-} ./configure --prefix=${pkgdir}/opt/${pkgname} --with-headas=$HEADAS make } check() { cd $srcdir/${pkgname}-${pkgver//_/-} make check } package() { cd $srcdir/${pkgname}-${pkgver//_/-} make install install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } # vim:set ts=4 sw=4 et: