diff options
author | orumin | 2017-07-08 22:34:48 +0900 |
---|---|---|
committer | orumin | 2017-07-08 22:34:48 +0900 |
commit | c6d30fad04c03cac3fc92ad8d10236171c3a3a06 (patch) | |
tree | 7defe59d23ecbd1a9a84775ed3334d0ad5fcda07 | |
download | aur-c6d30fad04c03cac3fc92ad8d10236171c3a3a06.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d04032b76698 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = lib32-metis + pkgdesc = A set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices + pkgver = 5.1.0.p3 + pkgrel = 1 + url = http://glaros.dtc.umn.edu/gkhome/metis/metis/overview + arch = x86_64 + license = custom + makedepends = cmake + depends = lib32-glibc + depends = metis + options = docs + source = http://ftp.mcs.anl.gov/pub/petsc/externalpackages/metis-5.1.0-p3.tar.gz + sha256sums = 5b55e4f955f4416160c82d7a0aa763a94b95548de87867a46e256585a26d833c + +pkgname = lib32-metis + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..043d756f1f99 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: orumin <dev at orum.in> + +pkgname=lib32-metis +_basename=metis +pkgver=5.1.0.p3 +_pkgver=5.1.0-p3 +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=(lib32-glibc metis) +makedepends=(cmake) +options=(docs) +# source=("http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${_basename}-${pkgver}.tar.gz") +source=("http://ftp.mcs.anl.gov/pub/petsc/externalpackages/${_basename}-${_pkgver}.tar.gz") +sha256sums=('5b55e4f955f4416160c82d7a0aa763a94b95548de87867a46e256585a26d833c') + +build() { + cd $_basename-$_pkgver + + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + make config shared=1 prefix=/usr + make +} + +package() { + cd $_basename-$_pkgver + + make install DESTDIR="$pkgdir" + + mv "${pkgdir}"/usr/lib "${pkgdir}"/usr/lib32 + rm -r "${pkgdir}"/usr/include +} |