Date: Tuesday, July 20, 2021 @ 21:33:09 Author: arojas Revision: 420228
archrelease: copy trunk to extra-x86_64 Added: cfitsio/repos/extra-x86_64/PKGBUILD (from rev 420227, cfitsio/trunk/PKGBUILD) Deleted: cfitsio/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-20 21:32:53 UTC (rev 420227) +++ PKGBUILD 2021-07-20 21:33:09 UTC (rev 420228) @@ -1,46 +0,0 @@ -# Maintainer: -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Tobias Powalowski <tp...@archlinux.org> - -pkgname=cfitsio -pkgver=3.49 -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=('5b65a20d5c53494ec8f638267fca4a629836b7ac8dd0ef0266834eab270ed4b3') - -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} -} Copied: cfitsio/repos/extra-x86_64/PKGBUILD (from rev 420227, cfitsio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-20 21:33:09 UTC (rev 420228) @@ -0,0 +1,46 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=cfitsio +pkgver=4.0.0 +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=('b2a8efba0b9f86d3e1bd619f662a476ec18112b4f27cc441cc680a4e3777425e') + +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} +}