# Maintainer jorge-barroso # Contributor DanielNak # Library package author: Timothy A. Davis _author=DrTimothyAldenDavis _pkgname=GraphBLAS pkgname=graphblas pkgver=8.2.1 pkgrel=1 pkgdesc="A full implementation of the GraphBLAS standard (graphblas.org)" arch=('any') url="http://github.com/$_author/$_pkgname" license=('APACHE') depends=() makedepends=('cmake') provides=("$pkgname") conflicts=("$pkgname") # source=("http://faculty.cse.tamu.edu/$_author/$_pkgname/$_pkgname-$pkgver.tar.gz") source=("https://github.com/$_author/$_pkgname/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('a4847751f20535e229ebcba6da2f66510414f01c23702c543bf0d89b5f5e8cfa') build() { cd "$srcdir/$_pkgname-$pkgver" (( NJOB=$(nproc)-1 )) || NJOB=1 make library JOBS=$NJOB CMAKE_OPTIONS=-DCMAKE_INSTALL_PREFIX=/usr } package(){ cd "$srcdir/$_pkgname-$pkgver" make DESTDIR="$pkgdir/" install # install -Dm644 Doc/License.txt "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" cd "$pkgdir/usr" }