diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-26 07:52:54 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-26 07:52:54 +0100 |
commit | 45a37aed7f4650776fbf9ca00215bb5217539f51 (patch) | |
tree | dae8b7a959841c32a24ae0c08652ed292b861f5e /pcr/gmm | |
parent | 0a5dd8e972c24cef6a5c9e5e9d24e81e6492000c (diff) | |
download | abslibre-45a37aed7f4650776fbf9ca00215bb5217539f51.tar.gz abslibre-45a37aed7f4650776fbf9ca00215bb5217539f51.tar.bz2 abslibre-45a37aed7f4650776fbf9ca00215bb5217539f51.zip |
pcr/gmm: added
Diffstat (limited to 'pcr/gmm')
-rw-r--r-- | pcr/gmm/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/gmm/PKGBUILD b/pcr/gmm/PKGBUILD new file mode 100644 index 000000000..97881ad24 --- /dev/null +++ b/pcr/gmm/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer (AUR): eolianoe <eolianoe At GoogleMAIL DoT com> +# Maintainer (AUR): Feng Wang <wanng.fenng AT gmail DOT com> + +# parabola changes and rationale: +# no changes. + +pkgname=gmm +pkgver=5.1 +pkgrel=3 +pkgdesc="Generic C++ finite element library" +arch=('i686' 'x86_64' 'armv7h') +url="http://getfem.org/" +license=('LGPL') +source=("http://download-mirror.savannah.gnu.org/releases/getfem/stable/${pkgname}-${pkgver}.tar.gz") +sha256sums=('90e6bf309b81f496b401a375fe99826ad4b5c6ba99db6c92b37f9261db462636') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i "s/-ftemplate-depth-40/-ftemplate-depth=1024/" configure +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + + make +} + +check(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make check +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} + |