[arch-commits] Commit in arpack/repos (2 files)
Alexander Rødseth
arodseth at archlinux.org
Thu Dec 21 21:11:38 UTC 2017
Date: Thursday, December 21, 2017 @ 21:11:37
Author: arodseth
Revision: 275240
archrelease: copy trunk to community-staging-x86_64
Added:
arpack/repos/community-staging-x86_64/
arpack/repos/community-staging-x86_64/PKGBUILD
(from rev 275239, arpack/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: arpack/repos/community-staging-x86_64/PKGBUILD (from rev 275239, arpack/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-12-21 21:11:37 UTC (rev 275240)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=arpack
+pkgver=3.5.0
+pkgrel=1
+arch=('x86_64')
+pkgdesc='Fortran77 subroutines for solving large scale eigenvalue problems'
+url='https://github.com/opencollab/arpack-ng'
+license=('BSD')
+depends=('lapack' 'openmpi')
+makedepends=('git' 'gcc-fortran')
+provides=('arpack-ng')
+source=("git+https://github.com/opencollab/arpack-ng#commit=9233f7f86f063ca6ca3793cb54dec590eb146e10")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$pkgname-ng"
+
+ ./bootstrap
+}
+
+build() {
+ cd "$pkgname-ng"
+
+ ./configure --prefix=/usr --enable-mpi
+
+ make \
+ F77="mpif77" \
+ CFLAGS+=" `pkg-config --cflags ompi-f77` " \
+ LIBS+=" `pkg-config --libs ompi-f77` "
+}
+
+package() {
+ cd "$pkgname-ng"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list