[arch-commits] Commit in wcslib/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Wed May 22 15:23:04 UTC 2019
Date: Wednesday, May 22, 2019 @ 15:23:03
Author: arojas
Revision: 468561
archrelease: copy trunk to community-staging-x86_64
Added:
wcslib/repos/community-staging-x86_64/
wcslib/repos/community-staging-x86_64/PKGBUILD
(from rev 468560, wcslib/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: wcslib/repos/community-staging-x86_64/PKGBUILD (from rev 468560, wcslib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-22 15:23:03 UTC (rev 468561)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=wcslib
+pkgver=6.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=('bb4dfe242959bc4e5540890e0475754ad4a027dba971903dc4d82df8d564d805')
+
+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