summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ab0f3884ca510f47fdabc0f625e4ac8459c0d0d (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
pkgname=arpackpp
pkgver=2.3.0
pkgrel=1
pkgdesc="Arpack++ with patches"
arch=('any')
url="http://reuter.mit.edu/software/arpackpatch/"
license=('BSD')
depends=('arpack')
optdepends=('superlu' 'umfpack')
source=("https://github.com/m-reuter/arpackpp/archive/${pkgver}.tar.gz")
md5sums=('1b09e35b6c44e118003922643b99978a')

package()
{
  cd ${srcdir}/arpackpp-${pkgver}

  # install headers
  install -d ${pkgdir}/usr/include/arpackpp
  install include/*.h ${pkgdir}/usr/include/arpackpp

  # install docs
  install -d ${pkgdir}/usr/share/doc/arpackpp
  install doc/* ${pkgdir}/usr/share/doc/arpackpp

  # install tutorials
  install -d ${pkgdir}/usr/share/arpackpp/examples
  cp -r examples/* ${pkgdir}/usr/share/arpackpp/examples
}