summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorholishing2020-07-05 14:17:30 +0800
committerholishing2020-07-05 14:17:55 +0800
commitb48cd4692e3b50f696826227ac2482328a8ed4c1 (patch)
tree9df9414ef1695f418edc81217abd1ba0d73c3ad5
parenteb485d58ede018872a3aafdd7b903aa9bd663fcb (diff)
downloadaur-b48cd4692e3b50f696826227ac2482328a8ed4c1.tar.gz
cmake: Force set COPY_DCW COPY_GSHHG to OFF
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2022dd166fdf..2517117d5b15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gmt6
pkgdesc = Generic Mapping Tools: Tools for manipulating and plotting geographic and Cartesian data
pkgver = 6.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.generic-mapping-tools.org
install = gmt.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 68f491b8ff6c..abce945b1bb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gmt6
_pkgname=gmt
pkgver=6.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Generic Mapping Tools: Tools for manipulating and plotting geographic and Cartesian data"
arch=(x86_64)
url="https://www.generic-mapping-tools.org"
@@ -34,12 +34,14 @@ build() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
# -DLICENSE_RESTRICTED=off \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DGSHHG_ROOT=/usr/share/gmt/coast \
-DGMT_LIBDIR=lib \
- -DDCW_ROOT=/usr/share/gmt/dcw \
-DGMT_DATADIR=share/gmt \
-DGMT_MANDIR=share/man \
-DGMT_DOCDIR=share/doc/gmt \
+ -DGSHHG_ROOT=/usr/share/gmt/coast \
+ -DDCW_ROOT=/usr/share/gmt/dcw \
+ -DCOPY_GSHHG=OFF \
+ -DCOPY_DCW=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DGMT_OPENMP=ON \
..