pkgname=suitesparse _pkgname=SuiteSparse pkgver=7.8.3 pkgrel=1 epoch=1 pkgdesc="A collection of sparse matrix libraries" url="https://people.engr.tamu.edu/davis/suitesparse.html" arch=('x86_64') depends=('lapack') makedepends=('cmake') license=('GPL') source=("https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz" "https://github.com/DrTimothyAldenDavis/SuiteSparse/commit/769870a0d3304d93097d346dc466e8015bf4bab9.diff") md5sums=('242e38ecfc8a3e3aa6b7d8d44849c5cf' 'ae696279e22905afc10261a7e0deae0b') build() { cmake -B build -S ${_pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBLA_VENDOR=Generic cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }