Date: Thursday, May 10, 2018 @ 20:33:57 Author: arojas Revision: 320466
archrelease: copy trunk to community-staging-x86_64 Added: ccfits/repos/community-staging-x86_64/ ccfits/repos/community-staging-x86_64/PKGBUILD (from rev 320465, ccfits/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: ccfits/repos/community-staging-x86_64/PKGBUILD (from rev 320465, ccfits/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-10 20:33:57 UTC (rev 320466) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: <clu> +# Contributor: Jose San Juan <sanj...@tng.iac.es> + +pkgname=ccfits +pkgver=2.5 +pkgrel=3 +pkgdesc="Object Oriented Interface to the CFITSIO Library" +arch=('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) +sha256sums=('938ecd25239e65f519b8d2b50702416edc723de5f0a5387cceea8c4004a44740') + +build() { + cd "${srcdir}"/CCfits + + ./configure --with-cfitsio-libdir=/usr/lib --prefix=/usr + make +} + +package() { + cd "${srcdir}"/CCfits + + make DESTDIR="${pkgdir}" install + +#install license + install -Dm644 License.txt "${pkgdir}/usr/share/licenses/$pkgname/License.txt" +}