mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:47:15 +08:00
28 lines
784 B
Bash
28 lines
784 B
Bash
pkgname=wcslib
|
|
pkgver=6.2
|
|
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=('bb4dfe242959bc4e5540890e0475754ad4a027dba971903dc4d82df8d564d805')
|
|
|
|
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/}}
|
|
}
|