[arch-commits] Commit in (wcslib wcslib/repos wcslib/trunk wcslib/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Nov 20 09:26:18 UTC 2017


    Date: Monday, November 20, 2017 @ 09:26:17
  Author: arojas
Revision: 267524

extra2community: Moving wcslib from extra to community

Added:
  wcslib/
  wcslib/repos/
  wcslib/trunk/
  wcslib/trunk/PKGBUILD

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

Added: wcslib/trunk/PKGBUILD
===================================================================
--- wcslib/trunk/PKGBUILD	                        (rev 0)
+++ wcslib/trunk/PKGBUILD	2017-11-20 09:26:17 UTC (rev 267524)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=wcslib
+pkgver=5.17
+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=('5c9cb5c86be01703f6488774ef3ea44fd6918a4dcdfddc70855905c05de8436c')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --without-pgplot
+  make -j1
+}
+
+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/}}
+}


Property changes on: wcslib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list