Skip to content

Instantly share code, notes, and snippets.

@lahwaacz
Created October 31, 2014 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lahwaacz/a3a87d1199ec99116d8c to your computer and use it in GitHub Desktop.
Save lahwaacz/a3a87d1199ec99116d8c to your computer and use it in GitHub Desktop.
cleaned up PKGBUILD for AUR/cusp package
# Mantainer: Filippo Squillace <feel dot squally at gmail.com>
# Contributor: Jakub Klinkovský <j.l.k@gmx.com>
pkgname=cusp
pkgver=0.4.0
pkgrel=2
pkgdesc="Generic Parallel Algorithms for Sparse Matrix and Graph Computations on CUDA"
arch=("any")
url="http://cusplibrary.github.io/"
license=("Apache 2.0")
depends=("cuda")
source=("https://github.com/cusplibrary/cusplibrary/archive/v${pkgver}.zip")
md5sums=("84a80b4911bc087d8ddf5f54a67dd627")
package() {
cd "cusplibrary-$pkgver"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -dm755 "$pkgdir/opt/cuda/include/"
cp -r cusp/ "$pkgdir/opt/cuda/include/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment