Commit 38b2cf55 authored by Jeff Huang's avatar Jeff Huang 🤔
Browse files

[skip-ci] cmake: update to 3.15.2

parent 1c0454ea
Pipeline #4146 skipped
pkgname=cmake
pkgver=3.13.2
pkgver=3.15.2
pkgrel=1
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
......@@ -7,13 +7,15 @@ url="http://www.cmake.org/"
license=('custom')
depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp' 'libuv' 'rhash')
makedepends=('qt5-base' 'python3-sphinx' 'emacs')
optdepends=('qt5-base: cmake-gui'
'libxkbcommon-x11: cmake-gui')
source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('da095d483326ed379bfc8fa54e95db3426149ab923479a757149a4aed5c90693c0244bc2c9550cf4b64385f5003ee2060fea1698d989ed13bd0198e718c40903')
optdepends=('qt5-base: cmake-gui')
source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz"
cmake-default-libdir.patch::"https://gitlab.kitware.com/cmake/cmake/commit/18365587.diff")
sha256sums=('539088cb29a68e6d6a8fba5c00951e5e5b1a92c68fa38a83e1ed2f355933f768'
'c2eb72c6f57e9b1697097f2d6b1f62fd826e225397ef9d4d38354f8bd671d4c5')
prepare() {
cd ${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
patch -p1 -i ../cmake-default-libdir.patch # Set lib as default LIBDIR
}
build() {
......@@ -46,6 +48,8 @@ package() {
"${pkgdir}"/usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el
ln -s /usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el \
"${pkgdir}"/usr/share/emacs/site-lisp/
ln -s /usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.elc \
"${pkgdir}"/usr/share/emacs/site-lisp/
install -Dm644 Copyright.txt \
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment