[arch-commits] Commit in gmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Mon Nov 22 20:23:25 UTC 2021


    Date: Monday, November 22, 2021 @ 20:23:25
  Author: archange
Revision: 1054366

archrelease: copy trunk to community-x86_64

Added:
  gmt/repos/community-x86_64/PKGBUILD
    (from rev 1054365, gmt/trunk/PKGBUILD)
Deleted:
  gmt/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-22 20:23:01 UTC (rev 1054365)
+++ PKGBUILD	2021-11-22 20:23:25 UTC (rev 1054366)
@@ -1,48 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgbase=gmt
-pkgname=(gmt gmt-doc)
-pkgver=6.2.0
-pkgrel=1
-pkgdesc="Generic Mapping Tools for manipulating and plotting geographic and cartesian data"
-arch=(x86_64)
-url="https://www.generic-mapping-tools.org"
-license=(LGPL)
-makedepends=(cmake blas curl fftw gdal geos lapack openmp netcdf pcre zlib)
-source=(https://github.com/GenericMappingTools/gmt/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.xz)
-sha256sums=(a01f0a14d48bbc0b14855670f366df3cb8238f0ccdfa26fe744968b4f1c14d54)
-
-build() {
-  cmake -B build -S ${pkgname}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DGMT_LIBDIR=lib \
-    -DGMT_DATADIR=share/gmt \
-    -DGMT_MANDIR=share/man \
-    -DGMT_DOCDIR=share/doc/gmt \
-    -DGMT_ENABLE_OPENMP=ON \
-    -DGSHHG_ROOT=/usr/share/gmt/coast \
-    -DDCW_ROOT=/usr/share/gmt/dcw \
-    -DCOPY_GSHHG=OFF \
-    -DCOPY_DCW=OFF
-  make -C build
-}
-
-package_gmt() {
-  depends=(blas curl fftw gdal geos lapack openmp netcdf pcre zlib)
-  optdepends=(
-    'gmt-doc: documentation'
-    'ghostscript'
-    'python-sphinx'
-  )
-#    'gmt-coast: coastlines'
-#    'gmt-dcw: digital chart of the world polygon map'
-
-  make -C build DESTDIR="${pkgdir}" install
-  mv "${pkgdir}"/usr/share/doc "${srcdir}"/
-}
-
-package_gmt-doc() {
-  install -d "${pkgdir}"/usr/share/
-  mv doc "${pkgdir}"/usr/share/
-}

Copied: gmt/repos/community-x86_64/PKGBUILD (from rev 1054365, gmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-22 20:23:25 UTC (rev 1054366)
@@ -0,0 +1,49 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgbase=gmt
+pkgname=(gmt gmt-doc)
+pkgver=6.3.0
+pkgrel=1
+pkgdesc="Generic Mapping Tools for manipulating and plotting geographic and cartesian data"
+arch=(x86_64)
+url="https://www.generic-mapping-tools.org"
+license=(LGPL)
+makedepends=(cmake blas curl ffmpeg fftw gdal geos ghostscript graphicsmagick lapack openmp netcdf pcre zlib)
+source=(https://github.com/GenericMappingTools/gmt/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.xz)
+sha256sums=('69e29b62ee802a3a64260d6a1e023f1350e3bf4070221aa1307bf8a9e56c1ee5')
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DGMT_LIBDIR=lib \
+    -DGMT_DATADIR=share/gmt \
+    -DGMT_MANDIR=share/man \
+    -DGMT_DOCDIR=share/doc/gmt \
+    -DGMT_ENABLE_OPENMP=ON \
+    -DGSHHG_ROOT=/usr/share/gmt/coast \
+    -DDCW_ROOT=/usr/share/gmt/dcw \
+    -DCOPY_GSHHG=OFF \
+    -DCOPY_DCW=OFF
+  make -C build
+}
+
+package_gmt() {
+  depends=(blas curl fftw gdal geos lapack openmp netcdf pcre zlib)
+  optdepends=(
+    'gmt-doc: documentation'
+    'ffmpeg: generate movies'
+    'ghostscript: convert PostScript outputs'
+    'graphicsmagick: generate animated GIFs'
+  )
+#    'gmt-coast: coastlines'
+#    'gmt-dcw: digital chart of the world polygon map'
+
+  make -C build DESTDIR="${pkgdir}" install
+  mv "${pkgdir}"/usr/share/doc "${srcdir}"/
+}
+
+package_gmt-doc() {
+  install -d "${pkgdir}"/usr/share/
+  mv doc "${pkgdir}"/usr/share/
+}



More information about the arch-commits mailing list