summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2da5818fb638ca25c527e6a9c8d4d7e8388d67a (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
# 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.5
pkgrel=1
pkgdesc="A Fortran interface to the GNU Scientific Library"
arch=('i686' 'x86_64')
url="https://github.com/reinh-bader/fgsl/"
license=('GPL')
depends=("gsl>=2.6" 'gcc-fortran' 'automake' 'autoconf' 'libtool')
# 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}"
}