Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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