[arch-commits] Commit in ccfits/repos (2 files)

Antonio Rojas arojas at archlinux.org
Wed May 22 15:40:16 UTC 2019


    Date: Wednesday, May 22, 2019 @ 15:40:15
  Author: arojas
Revision: 468595

archrelease: copy trunk to community-staging-x86_64

Added:
  ccfits/repos/community-staging-x86_64/
  ccfits/repos/community-staging-x86_64/PKGBUILD
    (from rev 468594, ccfits/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: ccfits/repos/community-staging-x86_64/PKGBUILD (from rev 468594, ccfits/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-22 15:40:15 UTC (rev 468595)
@@ -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=4
+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=(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