summaryrefslogtreecommitdiff
path: root/community/arpack/PKGBUILD
blob: 988f4ab62b687ba29924b4e4a19131ebf2f99948 (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
# $Id: PKGBUILD 62905 2012-01-29 00:58:19Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=arpack
pkgver=3.0.2
pkgrel=1
pkgdesc="Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems"
arch=('x86_64' 'i686' 'mips64el')
provides=('arpack-ng')
options=(!libtool)
url="http://forge.scilab.org/index.php/p/arpack-ng/"
license=('BSD')
depends=('glibc' 'gcc-fortran' 'lapack')
source=("http://forge.scilab.org/upload/arpack-ng/files/arpack_3.0.2.tar.gz")
sha256sums=('4add769386e0f6b0484491bcff129c6f5234190dbf58e07cc068fbd5dc7278bf')

build() {
  cd "$srcdir/$pkgname-ng-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-ng-$pkgver"

  make DESTDIR="$pkgdir/" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

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