Date: Tuesday, November 15, 2022 @ 21:26:53
Author: blakkheim
Revision: 1349008
archrelease: copy trunk to community-staging-x86_64
Added:
ccfits/repos/community-staging-x86_64/
ccfits/repos/community-staging-x86_64/PKGBUILD
(from rev 1349007, ccfits/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: ccfits/repos/community-staging-x86_64/PKGBUILD (from rev 1349007,
ccfits/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-15 21:26:53 UTC (rev 1349008)
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Contributor: <clu>
+# Contributor: Jose San Juan <[email protected]>
+
+pkgname=ccfits
+pkgver=2.6
+pkgrel=2
+pkgdesc="Object Oriented Interface to the CFITSIO Library"
+arch=('x86_64')
+url="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/"
+license=('custom')
+depends=('cfitsio')
+source=(https://heasarc.gsfc.nasa.gov/docs/software/fitsio/${pkgname}/CCfits-${pkgver}.tar.gz)
+sha256sums=('2bb439db67e537d0671166ad4d522290859e8e56c2f495c76faa97bc91b28612')
+
+build() {
+ cd "${srcdir}"/CCfits-$pkgver
+
+ ./configure --with-cfitsio-libdir=/usr/lib --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/CCfits-$pkgver
+
+ make DESTDIR="${pkgdir}" install
+
+#install license
+ install -Dm644 License.txt
"${pkgdir}/usr/share/licenses/$pkgname/License.txt"
+}