1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: jedbrown
13 pkgdesc="A set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices"
14 url="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview"
19 source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2)
20 sha256sums=('ddcb99746a8795ebb9d9c020acc31b85fe696eb2992c9ee5ac7588074a503a4b')
23 mv petsc-pkg-metis-* $pkgname-$_pkgver
27 cmake -B build -S $pkgname-$_pkgver \
28 -DCMAKE_INSTALL_PREFIX=/usr \
35 DESTDIR="$pkgdir" cmake --install build
36 install -m644 -D $pkgname-$_pkgver/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE