Browse Source

[trunk] 'metis-5.1.0.p6-1' modify

master
artoo 3 years ago
parent
commit
9b07b08097
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 37
      metis/trunk/PKGBUILD

37
metis/trunk/PKGBUILD

@ -0,0 +1,37 @@
# Maintainer:
# Contributor: jedbrown
# Contributor: eleftg
# Contributor: mickele
# Contributor: gborzi
# Contributor: abenson
pkgname=metis
pkgver=5.1.0.p6
_pkgver=5.1.0-p6
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=("https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2")
sha256sums=('7b27834d68c395b26d40025aca45d95b612fac78cfed909947218d91a3ada3f2')
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
}
Loading…
Cancel
Save