1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
7 pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS"
9 url='https://www.atnf.csiro.au/people/Mark.Calabretta/WCS/'
12 makedepends=(gcc-fortran)
13 source=(ftp://ftp.atnf.csiro.au/pub/software/$pkgname/$pkgname-$pkgver.tar.bz2)
14 sha256sums=('9cf8de50e109a97fa04511d4111e8d14bd0a44077132acf73e6cf0029fe96bd4')
19 export CFLAGS+=" -ffat-lto-objects"
20 ./configure --prefix=/usr --without-pgplot
26 make DESTDIR="$pkgdir" install
28 # Fix wrong permissions
29 chmod g=rx,-s "$pkgdir"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
30 chmod -s "$pkgdir"/usr/{include/wcslib-$pkgver/,share/doc/wcslib-$pkgver/{,html/}}