Date: Thursday, March 14, 2019 @ 21:56:05 Author: arojas Revision: 348128
archrelease: copy trunk to staging-x86_64 Added: cmake/repos/staging-x86_64/ cmake/repos/staging-x86_64/PKGBUILD (from rev 348127, cmake/trunk/PKGBUILD) cmake/repos/staging-x86_64/rebuild.list (from rev 348127, cmake/trunk/rebuild.list) --------------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ rebuild.list | 2 ++ 2 files changed, 55 insertions(+) Copied: cmake/repos/staging-x86_64/PKGBUILD (from rev 348127, cmake/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-03-14 21:56:05 UTC (rev 348128) @@ -0,0 +1,53 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgname=cmake +pkgver=3.14.0 +pkgrel=1 +pkgdesc='A cross-platform open-source make system' +arch=('x86_64') +url="http://www.cmake.org/" +license=('custom') +depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp' 'libuv' 'rhash') +makedepends=('qt5-base' 'python-sphinx' 'emacs') +optdepends=('qt5-base: cmake-gui' + 'libxkbcommon-x11: cmake-gui') +source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('a3b47f2b8d3436860e8cc06a8c0288124289560853d24f68dfbb49a2ff3f861ee385463376ad1dafa6d4a618c06d2e9049b20fcac1d2c147b29bb93479a8d400') + +build() { + cd ${pkgname}-${pkgver} + + ./bootstrap --prefix=/usr \ + --mandir=/share/man \ + --docdir=/share/doc/cmake \ + --sphinx-man \ + --system-libs \ + --qt-gui \ + --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN) + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + vimpath="${pkgdir}/usr/share/vim/vimfiles" + install -d "${vimpath}"/{indent,syntax} + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/indent/cmake.vim \ + "${vimpath}"/indent/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/syntax/cmake.vim \ + "${vimpath}"/syntax/ + + install -d "${pkgdir}"/usr/share/emacs/site-lisp/ + emacs -batch -f batch-byte-compile \ + "${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 +} Copied: cmake/repos/staging-x86_64/rebuild.list (from rev 348127, cmake/trunk/rebuild.list) =================================================================== --- staging-x86_64/rebuild.list (rev 0) +++ staging-x86_64/rebuild.list 2019-03-14 21:56:05 UTC (rev 348128) @@ -0,0 +1,2 @@ +cmake-fedora +uranium