Date: Friday, April 14, 2023 @ 07:26:30
  Author: dvzrv
Revision: 1445988

Consolidate bash arrays.

Switch to bash arrays with one entry per line for better handling.
Sort arrays alphabetically for better overview.

Modified:
  vtk/trunk/PKGBUILD

----------+
 PKGBUILD |  148 ++++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 103 insertions(+), 45 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-14 07:02:08 UTC (rev 1445987)
+++ PKGBUILD    2023-04-14 07:26:30 UTC (rev 1445988)
@@ -12,53 +12,111 @@
 arch=(x86_64)
 url="https://www.vtk.org/";
 license=(BSD)
-depends=(gcc-libs double-conversion pugixml tbb libtiff)
-makedepends=(adios2 cmake boost doxygen ffmpeg gdal git gnuplot 
java-environment=11
-             liblas libxt mariadb-libs openimagedenoise openmp openmpi openvdb
-             openvr ospray pdal postgresql-libs python-matplotlib qt5-base
-             qt5-tools qt5-declarative tk unixodbc wget
-             cgns cli11 eigen expat fmt freetype2 gl2ps glew hdf5 libjpeg
-             jsoncpp libjsoncpp.so libharu proj libxml2 lz4 xz python-mpi4py
-             netcdf libogg libpng rapidjson sqlite libtheora utf8cpp zfp zlib 
openxr verdict)
+depends=(
+  double-conversion
+  gcc-libs
+  glibc
+  libtiff
+  onetbb
+  pugixml
+)
+makedepends=(
+  adios2
+  boost
+  cgns
+  cli11
+  cmake
+  doxygen
+  eigen
+  expat
+  ffmpeg
+  fmt
+  freetype2
+  gdal
+  git
+  gl2ps
+  glew
+  gnuplot
+  hdf5
+  java-environment=11
+  jsoncpp
+  libharu
+  libjpeg
+  liblas
+  libogg
+  libpng
+  libtheora
+  libxml2
+  libxt
+  lz4
+  mariadb-libs
+  netcdf
+  openimagedenoise
+  openmp
+  openmpi
+  openvdb
+  openvr
+  openxr
+  ospray
+  pdal
+  postgresql-libs
+  proj
+  python-matplotlib
+  python-mpi4py
+  qt5-base
+  qt5-tools
+  qt5-declarative
+  rapidjson
+  sqlite
+  tk
+  unixodbc
+  utf8cpp
+  verdict
+  wget
+  xz
+  zfp
+  zlib
+)
 # pegtl: https://gitlab.kitware.com/vtk/vtk/-/issues/18151
 # exprtk, ioss: not packaged
-optdepends=('gnuplot: plotting tools'
-            'graphviz: drawing tools'
-            'java-runtime=11: java bindings'
-            'python: python bindings'
-            'python-mpi4py: OpenMPI python support'
-            'python-matplotlib: for Matplotlib rendering'
-            'openmpi: OpenMPI support'
-            'qt5-declarative: QML plugin'
-            'tk: tcl bindings'
-            adios2
-            cgns
-            ffmpeg
-            fmt
-            gdal
-            gl2ps
-            glew
-            hdf5
-            jsoncpp
-            libarchive
-            libharu
-            liblas
-            lz4
-            mariadb-libs
-            netcdf
-            openimagedenoise
-            openvdb
-            openvr
-            openxr
-            ospray
-            pdal
-            postgresql-libs
-            proj
-            sqlite
-            unixodbc
-            verdict)
-source=(${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz
-      )
+optdepends=(
+  adios2
+  cgns
+  ffmpeg
+  fmt
+  gdal
+  gl2ps
+  glew
+  'gnuplot: plotting tools'
+  'graphviz: drawing tools'
+  hdf5
+  'java-runtime=11: java bindings'
+  jsoncpp
+  libarchive
+  libharu
+  liblas
+  lz4
+  mariadb-libs
+  netcdf
+  openimagedenoise
+  'openmpi: OpenMPI support'
+  openvdb
+  openvr
+  openxr
+  ospray
+  pdal
+  postgresql-libs
+  proj
+  'python: python bindings'
+  'python-matplotlib: for Matplotlib rendering'
+  'python-mpi4py: OpenMPI python support'
+  'qt5-declarative: QML plugin'
+  sqlite
+  'tk: tcl bindings'
+  unixodbc
+  verdict
+)
+source=(${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz)
 options=(staticlibs)
 sha256sums=('06fc8d49c4e56f498c40fcb38a563ed8d4ec31358d0101e8988f0bb4d539dd12')
 

Reply via email to