You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
943 B

# Maintainer:
# Contributor: jedbrown
# Contributor: eleftg
# Contributor: mickele
# Contributor: gborzi
# Contributor: abenson
pkgname=metis
pkgver=5.1.0.p10
_pkgver=5.1.0-p10
pkgrel=1
arch=(x86_64)
pkgdesc="A set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices"
url="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview"
license=(custom)
depends=(glibc)
makedepends=(cmake)
options=(docs)
source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2")
sha256sums=('ddcb99746a8795ebb9d9c020acc31b85fe696eb2992c9ee5ac7588074a503a4b')
prepare() {
mv petsc-pkg-metis-* $pkgname-$_pkgver
}
build() {
cd $pkgname-$_pkgver
make config shared=1 prefix=/usr
make
}
package() {
cd $pkgname-$_pkgver
make install DESTDIR="$pkgdir"
install -m644 -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}