[arch-commits] Commit in cfitsio/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2020-05-01 Thread Antonio Rojas via arch-commits
Date: Friday, May 1, 2020 @ 09:37:31
  Author: arojas
Revision: 382007

archrelease: copy trunk to staging-x86_64

Added:
  cfitsio/repos/staging-x86_64/
  cfitsio/repos/staging-x86_64/PKGBUILD
(from rev 382006, cfitsio/trunk/PKGBUILD)

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

Copied: cfitsio/repos/staging-x86_64/PKGBUILD (from rev 382006, 
cfitsio/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-01 09:37:31 UTC (rev 382007)
@@ -0,0 +1,46 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Tobias Powalowski 
+
+pkgname=cfitsio
+pkgver=3.48
+pkgrel=1
+epoch=1
+pkgdesc="A library of C and Fortran subroutines for reading and writing data 
files in FITS (Flexible Image Transport System) data format"
+arch=(x86_64)
+url="https://heasarc.gsfc.nasa.gov/fitsio/";
+license=(custom)
+depends=(curl)
+source=("https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/$pkgname-$pkgver.tar.gz";)
+sha256sums=('91b48ffef544eb8ea3908543052331072c99bf09ceb139cb3c6977fc3e47aac1')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|LDFLAGS=.*|LDFLAGS="$LDFLAGS"|g' -i configure.in # Fix LDFLAGS
+  autoreconf -vi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --enable-reentrant
+  make shared
+  make utils
+}
+
+check() {
+  cd $pkgname-$pkgver
+  LD_LIBRARY_PATH=. ./testprog > testprog.lis
+  [[ -z $(diff testprog.lis testprog.out) ]] || return 1
+  [[ -z $(cmp testprog.fit testprog.std) ]] || return 1
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -D -m644 License.txt \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Fix conflicts with ccfits and smem
+  rm "$pkgdir"/usr/bin/{cookbook,smem,testprog}
+}


[arch-commits] Commit in cfitsio/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2019-05-22 Thread Antonio Rojas via arch-commits
Date: Wednesday, May 22, 2019 @ 15:13:28
  Author: arojas
Revision: 353837

archrelease: copy trunk to staging-x86_64

Added:
  cfitsio/repos/staging-x86_64/
  cfitsio/repos/staging-x86_64/PKGBUILD
(from rev 353836, cfitsio/trunk/PKGBUILD)

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

Copied: cfitsio/repos/staging-x86_64/PKGBUILD (from rev 353836, 
cfitsio/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-05-22 15:13:28 UTC (rev 353837)
@@ -0,0 +1,45 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Tobias Powalowski 
+
+pkgname=cfitsio
+pkgver=3.47
+pkgrel=1
+pkgdesc="A library of C and Fortran subroutines for reading and writing data 
files in FITS (Flexible Image Transport System) data format"
+arch=(x86_64)
+url="https://heasarc.gsfc.nasa.gov/fitsio/";
+license=(custom)
+depends=(curl)
+source=("https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/$pkgname-$pkgver.tar.gz";)
+sha256sums=('418516f10ee1e0f1b520926eeca6b77ce639bed88804c7c545e74f26b3edf4ef')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|LDFLAGS=.*|LDFLAGS="$LDFLAGS"|g' -i configure.in # Fix LDFLAGS
+  autoreconf -vi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --enable-reentrant
+  make shared
+  make utils
+}
+
+check() {
+  cd $pkgname-$pkgver
+  LD_LIBRARY_PATH=. ./testprog > testprog.lis
+  [[ -z $(diff testprog.lis testprog.out) ]] || return 1
+  [[ -z $(cmp testprog.fit testprog.std) ]] || return 1
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -D -m644 License.txt \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Fix conflicts with ccfits and smem
+  rm "$pkgdir"/usr/bin/{cookbook,smem,testprog}
+}


[arch-commits] Commit in cfitsio/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2018-05-10 Thread Antonio Rojas via arch-commits
Date: Thursday, May 10, 2018 @ 20:01:09
  Author: arojas
Revision: 323894

archrelease: copy trunk to staging-x86_64

Added:
  cfitsio/repos/staging-x86_64/
  cfitsio/repos/staging-x86_64/PKGBUILD
(from rev 323893, cfitsio/trunk/PKGBUILD)

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

Copied: cfitsio/repos/staging-x86_64/PKGBUILD (from rev 323893, 
cfitsio/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-10 20:01:09 UTC (rev 323894)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Tobias Powalowski 
+
+pkgname=cfitsio
+pkgver=3.450
+pkgrel=1
+pkgdesc="A library of C and Fortran subroutines for reading and writing data 
files in FITS (Flexible Image Transport System) data format"
+arch=(x86_64)
+url="http://heasarc.gsfc.nasa.gov/fitsio/";
+license=(custom)
+depends=(curl)
+source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${pkgver/./}.tar.gz";)
+sha256sums=('bf6012dbe668ecb22c399c4b7b2814557ee282c74a7d5dc704eb17c30d9fb92e')
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --enable-reentrant
+  make shared
+  make utils
+}
+
+check() {
+  cd $pkgname
+  LD_LIBRARY_PATH=. ./testprog > testprog.lis
+  [[ -z $(diff testprog.lis testprog.out) ]] || return 1
+  [[ -z $(cmp testprog.fit testprog.std) ]] || return 1
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  install -D -m644 License.txt \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Fix conflicts with ccfits and smem
+  rm "$pkgdir"/usr/bin/{cookbook,smem,testprog}
+}


[arch-commits] Commit in cfitsio/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2018-04-12 Thread Antonio Rojas via arch-commits
Date: Thursday, April 12, 2018 @ 19:38:57
  Author: arojas
Revision: 321651

archrelease: copy trunk to staging-x86_64

Added:
  cfitsio/repos/staging-x86_64/
  cfitsio/repos/staging-x86_64/PKGBUILD
(from rev 321650, cfitsio/trunk/PKGBUILD)

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

Copied: cfitsio/repos/staging-x86_64/PKGBUILD (from rev 321650, 
cfitsio/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-04-12 19:38:57 UTC (rev 321651)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Tobias Powalowski 
+
+pkgname=cfitsio
+pkgver=3.440
+pkgrel=1
+pkgdesc="A library of C and Fortran subroutines for reading and writing data 
files in FITS (Flexible Image Transport System) data format"
+arch=(x86_64)
+url="http://heasarc.gsfc.nasa.gov/fitsio/";
+license=(custom)
+depends=(curl)
+source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${pkgver/./}.tar.gz";)
+sha256sums=('dd1cad4208fb7a9462914177f26672ccfb21fc8a1f6366e41e7b69b13ad7fd24')
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --enable-reentrant
+  make shared
+  make utils
+}
+
+check() {
+  cd $pkgname
+  LD_LIBRARY_PATH=. ./testprog > testprog.lis
+  [[ -z $(diff testprog.lis testprog.out) ]] || return 1
+  [[ -z $(cmp testprog.fit testprog.std) ]] || return 1
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  install -D -m644 License.txt \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Fix conflicts with ccfits and smem
+  rm "$pkgdir"/usr/bin/{cookbook,smem,testprog}
+}