tdisable docs and use non-complex scalars - petsc-git-PKGBUILD - build template for non-complex PETSC with petsc4py
 (HTM) git clone git://src.adamsgaard.dk/petsc-git-PKGBUILD
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit a1a9e5121f6a57b8fc653c8be46aa0c190bc0d1f
 (DIR) parent 2d45841652059d613ca65763f2d2cff899bc82a2
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Fri,  8 Oct 2021 12:44:35 +0200
       
       disable docs and use non-complex scalars
       
       Diffstat:
         M PKGBUILD                            |       9 ++++-----
       
       1 file changed, 4 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/PKGBUILD b/PKGBUILD
       t@@ -4,8 +4,8 @@
        # Contributor: Martin Diehl <aur@martin-diehl.net>
        
        _base=petsc
       -pkgname=("${_base}"-git "${_base}"-doc)
       -pkgver=3.15.4.39.g3348d10f62a
       +pkgname=("${_base}"-git)
       +pkgver=3.16.0.47.g274bd3c7210
        pkgrel=1
        _mainver="${pkgver:0:6}"
        pkgdesc="Portable, extensible toolkit for scientific computation"
       t@@ -18,10 +18,10 @@ depends=('openmpi' 'lapack' 'fftw' 'zlib' 'cython'
        makedepends=('gcc' 'gcc-fortran' 'cmake' 'sowing' "pkgconf"
                     'git' 'cython' 'chrpath' "hypre=2.18.2")
        source=(git+${url}.git#branch=release
       -        https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-with-docs-"${_mainver}".tar.gz
       +        https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-"${_mainver}".tar.gz
                test_optdepends.sh)
        sha512sums=('SKIP'
       -            'b6a1d48aab1c2639a4c1cbd8b313ace253f1c36eedaa3de3508ffbd6060e1def99e2f516ed9bb509307f614b41791d09342e2c2280c0b2c25dda1092b0e569d2'
       +            '5280032fb4ec4d058733788bb0ae674e7400565e204133bd10ed88a2965230ec7adeaca2d498267ce661377ca7e6f9d948992206b1d679587606cb422c004655'
                    'a4e064c08730058d63120a22c12657a100e5330546d66c44bb85e5bf84df80a23a729b0266af3efce2c8148f0266ddca99eaf9c8ea88d323cebe1d0c18c45d09')
        
        _config=linux-c-opt
       t@@ -117,7 +117,6 @@ build() {
            --with-shared-libraries=1
            --with-zlib=1
            --with-petsc4py=1
       -    --with-scalar-type=complex
            --with-single-library=1
            " $(sh ${srcdir}/test_optdepends.sh)")