blob: 8dcfd8f52348f9bb81ac4cb25b99d729e08f4eae (
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
28
29
30
31
32
33
34
35
|
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
pkgname=libflame-git
pkgver=r78.b0936fbe
pkgrel=1
pkgdesc="High-performance object-based library for DLA computations"
arch=('i686' 'x86_64')
license=('BSD')
url="https://github.com/flame/libflame"
depends=('blas' 'lapack')
makedepends=('git' 'make' 'gcc')
provides=('libflame')
conflicts=('libflame')
source=("$pkgname::git+https://github.com/flame/libflame.git")
sha1sums=('SKIP')
options=('staticlibs')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname}"
# static build is necessary for some packages and programs (e. g. GAMESS)
./configure --prefix=/usr --enable-static-build --enable-dynamic-build --enable-multithreading=openmp --enable-supermatrix --enable-max-arg-list-hack
make
}
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
}
|