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