aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextra/cmake/build9
-rw-r--r--extra/cmake/checksums2
-rw-r--r--extra/cmake/sources2
-rw-r--r--extra/cmake/version2
4 files changed, 4 insertions, 11 deletions
diff --git a/extra/cmake/build b/extra/cmake/build
index 3d56e5bc..a2de31ab 100755
--- a/extra/cmake/build
+++ b/extra/cmake/build
@@ -2,7 +2,7 @@
# Use cmake to build cmake if installed.
# This leads to a much faster build.
-if cpt-list cmake; then
+if cpt-list cmake >/dev/null 2>&1; then
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
@@ -29,10 +29,3 @@ else
make
make DESTDIR="$1" install
fi
-
-# Grab the package version.
-IFS=. read -r ver1 ver2 _ < "${0%/*}/version"
-
-# Remove docs.
-rm -rf "$1/usr/doc"
-rm -rf "$1/usr/share/cmake-$ver1.$ver2/Help"
diff --git a/extra/cmake/checksums b/extra/cmake/checksums
index c7b9daf9..7f6f23ff 100644
--- a/extra/cmake/checksums
+++ b/extra/cmake/checksums
@@ -1 +1 @@
-c0e3338bd37e67155b9d1e9526fec326b5c541f74857771b7ffed0c46ad62508 cmake-3.18.1.tar.gz
+5d4e40fc775d3d828c72e5c45906b4d9b59003c9433ff1b36a1cb552bbd51d7e cmake-3.18.2.tar.gz
diff --git a/extra/cmake/sources b/extra/cmake/sources
index 7d345b4d..024d7809 100644
--- a/extra/cmake/sources
+++ b/extra/cmake/sources
@@ -1 +1 @@
-https://github.com/Kitware/CMake/releases/download/v3.18.1/cmake-3.18.1.tar.gz
+https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2.tar.gz
diff --git a/extra/cmake/version b/extra/cmake/version
index ab88d13d..4014d662 100644
--- a/extra/cmake/version
+++ b/extra/cmake/version
@@ -1 +1 @@
-3.18.1 1
+3.18.2 1