summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33d3575b8a225b8e400070cba4e9953a62c429e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>

pkgname=cusp
pkgver=0.5.1
pkgrel=1
pkgdesc="A C++ Templated Sparse Matrix Library"
arch=('any')
url='http://cusplibrary.github.io'
license=('Apache')
makedepends=()
depends=('cuda')

_dir="cusplibrary-${pkgver}"
source=("https://github.com/cusplibrary/cusplibrary/archive/v${pkgver}.tar.gz")
sha256sums=('ea283132caae7a62c96dedb40d0fcff25d3067191411987db9c2d780286a2108')

package() {
  cd "${srcdir}/${_dir}"

  # Install headers
  install -d "${pkgdir}/opt/cuda/include/cusp"
  cp -r "cusp" "${pkgdir}/opt/cuda/include"
}