Date: Thursday, April 12, 2018 @ 19:48:21
  Author: arojas
Revision: 316114

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 316113, 
wcslib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-12 19:48:21 UTC (rev 316114)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=wcslib
+pkgver=5.18
+pkgrel=2
+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=('b693fbf14f2553507bc0c72bca531f23c59885be8f7d3c3cb889a5349129509a')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --without-pgplot
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install -j1
+
+  # 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