Package Details: graphblas 8.2.1-1

Git Clone URL: https://aur.archlinux.org/graphblas.git (read-only, click to copy)
Package Base: graphblas
Description: A full implementation of the GraphBLAS standard (graphblas.org)
Upstream URL: http://github.com/DrTimothyAldenDavis/GraphBLAS
Licenses: Apache
Conflicts: graphblas
Provides: graphblas
Submitter: DanielNak
Maintainer: jorge_barroso
Last Packager: jorge_barroso
Votes: 1
Popularity: 0.024579
First Submitted: 2019-07-31 00:37 (UTC)
Last Updated: 2023-11-25 03:11 (UTC)

Latest Comments

lahwaacz commented on 2023-11-20 16:22 (UTC)

Actually, the GraphBLAS library is provided by suitesparse in the official repositories, so this package is quite useless...

lahwaacz commented on 2023-11-20 15:13 (UTC) (edited on 2023-11-20 15:13 (UTC) by lahwaacz)

Please use cmake directly and ninja instead of make (it is likely much faster and does not have to be configured with the JOBS parameter). There are also other issues, like downloading the source to a file name that is unique to the package (v$pkgver.tar.gz is not) and installing the LICENSE file. This is a full diff of the changes that I would make:

diff --git a/PKGBUILD b/PKGBUILD
index da566ac..ac97068 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,29 +5,28 @@
 _author=DrTimothyAldenDavis
 _pkgname=GraphBLAS
 pkgname=graphblas
-pkgver=8.0.2
+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')
+makedepends=(cmake ninja)
 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=('cedecdcff130c3b7e5d571b693dc2c28bc96ef5f09b33e52f0bcd42b23593ea0')
+source=("$pkgname-$pkgver.tar.gz::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
+       cmake -B build -S "$_pkgname-$pkgver" -G Ninja \
+               -DCMAKE_BUILD_TYPE=None \
+               -DCMAKE_INSTALL_PREFIX=/usr
+       cmake --build build
 }

 package(){
-       cd "$srcdir/$_pkgname-$pkgver"
-       make DESTDIR="$pkgdir/" install
-       # install -Dm644 Doc/License.txt "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
-       cd "$pkgdir/usr"
+       DESTDIR="$pkgdir" cmake --install build
+       install -Dm644 "$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

DanielNak commented on 2023-08-31 12:07 (UTC)

I don't use this package anymore so haven't kept track of versions. I disowned it, go ahead and adopt.

jorge_barroso commented on 2023-08-31 10:31 (UTC)

Can you please update this to 8.0.2? Or else please orphan the package and I can do it myself, I gave it a test and it just needs the new version and sums