[arch-commits] Commit in ccfits/repos (community-x86_64 community-x86_64/PKGBUILD)
Jaroslav Lichtblau
jlichtblau at nymeria.archlinux.org
Tue Feb 4 20:37:44 UTC 2014
Date: Tuesday, February 4, 2014 @ 21:37:43
Author: jlichtblau
Revision: 105311
archrelease: copy trunk to community-x86_64
Added:
ccfits/repos/community-x86_64/
ccfits/repos/community-x86_64/PKGBUILD
(from rev 105310, ccfits/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: ccfits/repos/community-x86_64/PKGBUILD (from rev 105310, ccfits/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-02-04 20:37:43 UTC (rev 105311)
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z $
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: <clu>
+# Contributor: Jose San Juan <sanjuan at tng.iac.es>
+
+pkgname=ccfits
+pkgver=2.4
+pkgrel=4
+pkgdesc="Object Oriented Interface to the CFITSIO Library"
+arch=('i686' '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)
+md5sums=('dd9a11d964590dd5f3fd5a3491b2c1ce')
+
+build() {
+ cd "${srcdir}"/CCfits
+
+ ./configure --with-cfitsio-libdir=/usr/lib --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/CCfits
+
+ make DESTDIR="${pkgdir}" install
+
+#install license
+ install -D -m644 License.txt "${pkgdir}/usr/share/licenses/$pkgname/License.txt"
+}
More information about the arch-commits
mailing list