blob: 47e4f42abe46f20073cc6738f7646dd6f4e3f3c8 (
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
|
pkgname=coin-or-coinmumps
pkgver=3.0.7
pkgrel=1
pkgdesc="COIN-OR autotools harness to build MUMPS"
arch=('x86_64')
url="https://github.com/coin-or-tools/ThirdParty-MUMPS/"
license=('custom')
groups=('coin-or')
depends=('metis' 'lapack')
makedepends=('gcc-fortran' 'wget')
source=("https://github.com/coin-or-tools/ThirdParty-Mumps/archive/releases/$pkgver.tar.gz")
sha256sums=('3847b3665e7235ead8710b13ee7f19159926e33a640a0225c08ad766db02d761')
prepare () {
cd "ThirdParty-Mumps-releases-$pkgver"
./get.Mumps
}
build() {
cd "ThirdParty-Mumps-releases-$pkgver"
FFLAGS="-fallow-argument-mismatch" ./configure --prefix=/usr
make -j1
}
package() {
cd "ThirdParty-Mumps-releases-$pkgver"
PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
make DESTDIR="${pkgdir}" install
}
|