Date: Wednesday, January 1, 2020 @ 21:07:33
  Author: arojas
Revision: 545934

archrelease: copy trunk to community-staging-x86_64

Added:
  wcslib/repos/community-staging-x86_64/
  wcslib/repos/community-staging-x86_64/PKGBUILD
    (from rev 545933, wcslib/trunk/PKGBUILD)

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

Copied: wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 545933, 
wcslib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-01 21:07:33 UTC (rev 545934)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=wcslib
+pkgver=7.1
+pkgrel=1
+pkgdesc="A C library that implements the 'World Coordinate System' (WCS) 
standard in FITS"
+arch=(x86_64)
+url="https://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=('f0bb749eb384794501ad3f71cc10d69debcc0dfca2a395ef57062245c9165116')
+
+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/}}
+}

Reply via email to