[arch-commits] Commit in wcslib/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu May 10 20:11:13 UTC 2018


    Date: Thursday, May 10, 2018 @ 20:11:09
  Author: arojas
Revision: 320460

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 320459, wcslib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-05-10 20:11:09 UTC (rev 320460)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=wcslib
+pkgver=5.18
+pkgrel=3
+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/}}
+}



More information about the arch-commits mailing list