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

Felix Yan felixonmars at archlinux.org
Fri May 1 10:10:27 UTC 2020


    Date: Friday, May 1, 2020 @ 10:10:26
  Author: felixonmars
Revision: 623719

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 623718, wcslib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-01 10:10:26 UTC (rev 623719)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=wcslib
+pkgver=7.2
+pkgrel=2
+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=('63959eb4859517a1ecca48c91542318bebeed62e4a1663656de9a983af376e39')
+
+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/}}
+}


More information about the arch-commits mailing list