summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f75436f6214558e7d5652636a4d7d74cf234a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $Id$
# Maintainer: Sébastien "Seblu" Luttringer
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>

pkgname=gnuastro
pkgver=0.8
pkgrel=1
pkgdesc='Various programs and library functions for the manipulation and analysis of astronomical data'
arch=('x86_64')
license=('GPL3')
depends=('gsl' 'cfitsio' 'wcslib' 'libgit2' 'ghostscript')
url='https://www.gnu.org/software/gnuastro/'
source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-latest.tar.gz")
md5sums=('1f9fe021bf153ac7291af95c95e2d716')

prepare() {
  cd $pkgname-$pkgver
  ./configure \
      --prefix=/usr \
      --libexecdir=/usr/lib \
      --sysconfdir=/etc \
      --enable-arithmetic \
      --enable-buildprog \
      --enable-convertt \
      --enable-convolve \
      --enable-cosmiccal \
      --enable-crop \
      --enable-fits \
      --enable-match \
      --enable-mkcatalog \
      --enable-mknoise \
      --enable-mkprof \
      --enable-noisechisel \
      --enable-segment \
      --enable-statistics \
      --enable-table \
      --enable-warp
}

build() {
  cd $pkgname-$pkgver
  make
}

check() {
  cd $pkgname-$pkgver
  #make check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: