pkgname=hmat-oss pkgver=1.7.0 pkgrel=1 pkgdesc="A hierarchical matrix C/C++ library" license=('GPL') arch=('x86_64') url="https://github.com/jeromerobert/hmat-oss" depends=('cblas' 'lapack') makedepends=('cmake') source=("https://github.com/jeromerobert/hmat-oss/archive/${pkgver}.tar.gz") sha256sums=('137c221aa964afe880d0b06f6d9359561463a2a2a3f688075bbaf34847cddf99') build() { cd $pkgname-$pkgver cmake -DHMAT_GIT_VERSION=OFF -DCMAKE_INSTALL_PREFIX=/usr . make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }