pkgname=wcslib pkgver=8.3 pkgrel=1 pkgdesc="FITS World Coordinate System (WCS) standard defines keywords and usage that provide for the description of astronomical coordinate systems." arch=('x86_64') url="https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/" license=('GPL3') depends=('cfitsio') makedepends=('gcc') source=("https://www.atnf.csiro.au/people/mcalabre/WCS/${pkgname}-${pkgver}.tar.bz2") md5sums=('55257326a6b2b95e13de09e36ad7ede4') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --without-pgplot make } package() { cd ${pkgname}-${pkgver} make -j1 DESTDIR=${pkgdir}/ install chmod g=rx,-s ${pkgdir}/usr/{bin/,/lib/{,pkgconfig},share/man/man1/} chmod -s ${pkgdir}/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}} }