blob: f6af4f0705b54c04be8a2e12fc338fe5afef2e75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
pkgname=hmat-oss
pkgver=1.10.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=('357969e54d4d213cbab9c0eb4ca944a160d519b0790c8300431b4acc151387e5')
prepare() {
cd $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
cmake -DHMAT_GIT_VERSION=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_UNITY_BUILD=ON .
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|