Date: Friday, October 19, 2018 @ 16:54:12 Author: arojas Revision: 397918
archrelease: copy trunk to community-staging-x86_64 Added: wcslib/repos/community-staging-x86_64/ wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 397917, wcslib/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 397917, wcslib/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-10-19 16:54:12 UTC (rev 397918) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=wcslib +pkgver=6.1 +pkgrel=1 +pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS" +arch=(x86_64) +url="http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/" +license=(GPL3) +depends=(cfitsio) +makedepends=(gcc-fortran) +source=("ftp://ftp.atnf.csiro.au/pub/software/$pkgname/$pkgname-$pkgver.tar.bz2") +sha256sums=('edc89a7e29df4cb7d201066c99b557d4c9eba16da06cc125439f2e4ff6b482f8') + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr --without-pgplot + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # Fix wrong permissions + chmod g=rx,-s "$pkgdir"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/} + chmod -s "$pkgdir"/usr/{include/wcslib-$pkgver/,share/doc/wcslib-$pkgver/{,html/}} +}