summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eea1223aee70b67603bdd9a3701ccfb59bdd3e1c (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
# Maintainer: j_klee <jannes.klee@gmail.com>
# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
# Contributor: aphirst <adam@aphirst.karoo.co.uk>

pkgname=fgsl-git
pkgver=1.4
pkgrel=1
pkgdesc="A Fortran interface to the GNU Scientific Library"
arch=('i686' 'x86_64')
url="https://doku.lrz.de/display/PUBLIC/FGSL+-+A+Fortran+interface+to+the+GNU+Scientific+Library"
license=('GPL')
depends=("gsl>=2.6" 'gcc-fortran' 'automake' 'autoconf' 'libtool')
# the original source for FGSL is not updated for years and the fix for GSL2.6 not merged
# to the main repository
source=("${pkgname}::git+https://github.com/reinh-bader/fgsl.git")
sha256sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}"
  autoreconf -fi
  ./configure --prefix=/usr
  make
}

check() {
  cd "${srcdir}/${pkgname}"
  make check
}

package() {
  cd "${srcdir}/${pkgname}"
  make install DESTDIR="${pkgdir}"
}

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