diff options
author | Carlos Aznarán Laos | 2021-09-29 08:46:57 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2021-09-29 08:46:57 -0500 |
commit | 0425c61e706898feda00c855309d6cb736062541 (patch) | |
tree | 4a123b66952c6066d2cde7b72799703300eda9aa | |
parent | d69bd49c54dc0cc3ef36c22f3d6f05f4ac814665 (diff) | |
download | aur-0425c61e706898feda00c855309d6cb736062541.tar.gz |
Convert to metapackage, and split the modules in our own PKGBUILDs
-rw-r--r-- | .SRCINFO | 69 | ||||
-rw-r--r-- | PKGBUILD | 125 |
2 files changed, 36 insertions, 158 deletions
@@ -1,58 +1,19 @@ pkgbase = dune-core - pkgdesc = Core modules of the DUNE framework - pkgver = 2.7.1 + pkgdesc = Metapackage to install modules of DUNE Numerics. + pkgver = 2.8.0 pkgrel = 1 - url = http://www.dune-project.org - arch = i686 - arch = x86_64 - groups = dune - license = custom - makedepends = cmake - makedepends = gcc-fortran - makedepends = openmpi - makedepends = gmp - makedepends = lapack - makedepends = boost - makedepends = superlu - makedepends = suitesparse - makedepends = parmetis - makedepends = psurface - makedepends = python - makedepends = bash - makedepends = libtirpc-compat - source = http://www.dune-project.org/download/2.7.1/dune-common-2.7.1.tar.gz - source = http://www.dune-project.org/download/2.7.1/dune-geometry-2.7.1.tar.gz - source = http://www.dune-project.org/download/2.7.1/dune-localfunctions-2.7.1.tar.gz - source = http://www.dune-project.org/download/2.7.1/dune-istl-2.7.1.tar.gz - source = http://www.dune-project.org/download/2.7.1/dune-grid-2.7.1.tar.gz - source = http://www.dune-project.org/download/2.7.1/dune-uggrid-2.7.1.tar.gz - md5sums = 8c789975f762066d5bffc02085ac3eda - md5sums = 57bfac1eb1b08b2e6601907664797609 - md5sums = b3adbb0e960f2f27f3e6cb825ec5ac42 - md5sums = 7ece14f349d76c9df10bf784c1bc686b - md5sums = c739c3dfce1d4d7f93bea58963e4681d - md5sums = 597cbd936908506bfd0392b1dd0edbe8 - -pkgname = dune-common - pkgdesc = Basic classes used by all DUNE modules - depends = bash - depends = python - -pkgname = dune-geometry - pkgdesc = Reference elements with corresponding mappings and quadratures - -pkgname = dune-localfunctions - pkgdesc = Shape functions, interpolation operators on DUNE reference elemements - arch = any - -pkgname = dune-istl - pkgdesc = Iterative solver template library - arch = any - -pkgname = dune-grid - pkgdesc = Nonconforming, hierarchically nested, multi-element-type, parallel grids + url = https://dune-project.org arch = any + license = none + depends = dune-common + depends = dune-istl + depends = dune-geometry + depends = dune-localfunctions + depends = dune-grid + depends = dune-typetree + depends = dune-uggrid + depends = dune-functions + depends = dune-logging + depends = dune-alugrid -pkgname = dune-uggrid - pkgdesc = UG grid manager - arch = any +pkgname = dune-core @@ -1,105 +1,22 @@ -# Maintainer: anon at sansorgan.es -pkgbase=dune-core -pkgname=('dune-common' 'dune-geometry' 'dune-localfunctions' 'dune-istl' 'dune-grid' 'dune-uggrid') -pkgver=2.7.1 -pkgrel=1 -pkgdesc='Core modules of the DUNE framework' -groups=('dune') -url='http://www.dune-project.org' - -arch=('i686' 'x86_64') -license=('custom') - -makedepends=('cmake' 'gcc-fortran' 'openmpi' 'gmp' 'lapack' 'boost' 'superlu' 'suitesparse' - 'parmetis' 'psurface' 'python' 'bash' 'libtirpc-compat') - -export CPPFLAGS="-I/usr/include/tirpc ${CPPFLAGS}" -export CFLAGS="-fPIC ${CFLAGS}" -export CXXFLAGS="-fPIC ${CFLAGS}" - -for _module in "${pkgname[@]}"; do - source+=("http://www.dune-project.org/download/${pkgver}/${_module}-${pkgver}.tar.gz") -done - -_dunecontrol="./dune-common-${pkgver}/bin/dunecontrol" - -#prepare() { -# cd "dune-istl-${pkgver}" - -# patch -p1 -i ../../avoid-boost-fusion-1.61.patch -#} - -make_package() { - $_dunecontrol --only=${pkgname} make install DESTDIR="${pkgdir}" - - install -m644 -D ${pkgname}-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - find "${pkgdir}" -type d -empty -delete -} - -build() { - CMAKE_FLAGS='-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -fPIC -DBUILD_SHARED_LIBS:BOOL=OFF -I/usr/include/tirpc' \ - $_dunecontrol configure --enabled-shared - - $_dunecontrol make -} +# Maintainer: Josh Hoffer < hoffer dot joshua at gmail dot com > +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Contributor: Lukas Böger <dev___AT___lboeger___DOT___de> -package_dune-common() { - pkgdesc='Basic classes used by all DUNE modules' - depends=('bash' 'python') - - make_package -} - -package_dune-geometry() { - pkgdesc='Reference elements with corresponding mappings and quadratures' - - make_package -} - -package_dune-localfunctions() { - pkgdesc='Shape functions, interpolation operators on DUNE reference elemements' - arch=('any') - - make_package -} - -package_dune-istl() { - pkgdesc='Iterative solver template library' - arch=('any') - - make_package -} - -package_dune-grid() { - pkgdesc='Nonconforming, hierarchically nested, multi-element-type, parallel grids' - arch=('any') - make_package -} - -package_dune-uggrid() { - pkgdesc='UG grid manager' - arch=('any') - make_package -} - - -#package_dune-alugrid() { -# pkgdesc='Unstructured simplicial and cube DUNE grids' -# arch=('any') -# -# package -#} -#package_dune-functions() { -# pkgdesc='Needed to build core dune modules' -# arch=('any') -# -# package -#} - -md5sums=('8c789975f762066d5bffc02085ac3eda' - '57bfac1eb1b08b2e6601907664797609' - 'b3adbb0e960f2f27f3e6cb825ec5ac42' - '7ece14f349d76c9df10bf784c1bc686b' - 'c739c3dfce1d4d7f93bea58963e4681d' - '597cbd936908506bfd0392b1dd0edbe8') +pkgname=dune-core +pkgver=2.8.0 +pkgrel=1 +pkgdesc='Metapackage to install modules of DUNE Numerics.' +arch=(any) +license=(none) +url='https://dune-project.org' +depends=(dune-common + dune-istl + dune-geometry + dune-localfunctions + dune-grid + dune-typetree + dune-uggrid + dune-functions + dune-logging + dune-alugrid +) |