[arch-commits] Commit in ccfits/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri May 1 10:13:21 UTC 2020
Date: Friday, May 1, 2020 @ 10:13:20
Author: felixonmars
Revision: 623721
archrelease: copy trunk to community-staging-x86_64
Added:
ccfits/repos/community-staging-x86_64/
ccfits/repos/community-staging-x86_64/PKGBUILD
(from rev 623720, ccfits/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: ccfits/repos/community-staging-x86_64/PKGBUILD (from rev 623720, ccfits/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-05-01 10:13:20 UTC (rev 623721)
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: <clu>
+# Contributor: Jose San Juan <sanjuan at tng.iac.es>
+
+pkgname=ccfits
+pkgver=2.5
+pkgrel=5
+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=('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"
+}
More information about the arch-commits
mailing list