summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2019-07-14 00:34:04 +0800
committerUniversebenzene2019-07-14 00:34:04 +0800
commit74bfddf4cedda82a59c87b2b655752283786f16f (patch)
tree23fa3827cd3d909d9c8d9293a1ebfa4308e9276c
downloadaur-wcslib62.tar.gz
Initial import 6.2
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD33
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..26218b47b3f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = wcslib62
+ pkgdesc = A C library that implements the 'World Coordinate System' (WCS) standard in FITS
+ pkgver = 6.2
+ pkgrel = 2
+ url = https://www.atnf.csiro.au/people/Mark.Calabretta/WCS/
+ arch = x86_64
+ license = GPL3
+ makedepends = gcc-fortran
+ depends = cfitsio
+ provides = wcslib=6.2
+ conflicts = wcslib
+ source = ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-6.2.tar.bz2
+ sha256sums = bb4dfe242959bc4e5540890e0475754ad4a027dba971903dc4d82df8d564d805
+
+pkgname = wcslib62
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1df7b618a7b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+src
+pkg
+*.src.tar.gz
+*.tar.gz
+*.tar.bz2
+*.part
+*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..892371303f0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=wcslib62
+_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')
+provides=("${_pkgname}=${pkgver}")
+conflicts=('wcslib')
+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/}}
+}