Browse Source

[trunk] -> [extra] 'metis-5.1.0.p10-2' add

master
Dudemanguy 8 months ago
parent
commit
56f2031a03
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 20
      metis/trunk/PKGBUILD
  2. 20
      metis/x86_64/extra/PKGBUILD

20
metis/trunk/PKGBUILD

@ -1,4 +1,4 @@
# Maintainer:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: jedbrown
# Contributor: eleftg
# Contributor: mickele
@ -8,7 +8,7 @@
pkgname=metis
pkgver=5.1.0.p10
_pkgver=5.1.0-p10
pkgrel=1
pkgrel=2
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"
@ -16,7 +16,7 @@ license=(custom)
depends=(glibc)
makedepends=(cmake)
options=(docs)
source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2")
source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2)
sha256sums=('ddcb99746a8795ebb9d9c020acc31b85fe696eb2992c9ee5ac7588074a503a4b')
prepare() {
@ -24,14 +24,14 @@ prepare() {
}
build() {
cd $pkgname-$_pkgver
make config shared=1 prefix=/usr
make
cmake -B build -S $pkgname-$_pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSHARED=ON \
-DMATH_LIB=m
cmake --build build
}
package() {
cd $pkgname-$_pkgver
make install DESTDIR="$pkgdir"
install -m644 -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
DESTDIR="$pkgdir" cmake --install build
install -m644 -D $pkgname-$_pkgver/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

20
metis/x86_64/extra/PKGBUILD

@ -1,4 +1,4 @@
# Maintainer:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: jedbrown
# Contributor: eleftg
# Contributor: mickele
@ -8,7 +8,7 @@
pkgname=metis
pkgver=5.1.0.p10
_pkgver=5.1.0-p10
pkgrel=1
pkgrel=2
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"
@ -16,7 +16,7 @@ license=(custom)
depends=(glibc)
makedepends=(cmake)
options=(docs)
source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2")
source=($pkgname-$pkgver.tar.bz2::https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2)
sha256sums=('ddcb99746a8795ebb9d9c020acc31b85fe696eb2992c9ee5ac7588074a503a4b')
prepare() {
@ -24,14 +24,14 @@ prepare() {
}
build() {
cd $pkgname-$_pkgver
make config shared=1 prefix=/usr
make
cmake -B build -S $pkgname-$_pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSHARED=ON \
-DMATH_LIB=m
cmake --build build
}
package() {
cd $pkgname-$_pkgver
make install DESTDIR="$pkgdir"
install -m644 -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
DESTDIR="$pkgdir" cmake --install build
install -m644 -D $pkgname-$_pkgver/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

Loading…
Cancel
Save