[arch-commits] Commit in cmake/repos/extra-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Apr 28 17:24:42 UTC 2020
Date: Tuesday, April 28, 2020 @ 17:24:41
Author: arojas
Revision: 381796
archrelease: copy trunk to extra-x86_64
Added:
cmake/repos/extra-x86_64/PKGBUILD
(from rev 381795, cmake/trunk/PKGBUILD)
cmake/repos/extra-x86_64/rebuild.list
(from rev 381795, cmake/trunk/rebuild.list)
Deleted:
cmake/repos/extra-x86_64/PKGBUILD
cmake/repos/extra-x86_64/rebuild.list
--------------+
PKGBUILD | 112 ++++++++++++++++++++++++++++-----------------------------
rebuild.list | 4 +-
2 files changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-28 17:24:14 UTC (rev 381795)
+++ PKGBUILD 2020-04-28 17:24:41 UTC (rev 381796)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=cmake
-pkgver=3.17.1
-pkgrel=2
-pkgdesc='A cross-platform open-source make system'
-arch=('x86_64')
-url="https://www.cmake.org/"
-license=('custom')
-depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp' 'libjsoncpp.so' 'libuv' 'rhash')
-makedepends=('qt5-base' 'python-sphinx' 'emacs')
-optdepends=('qt5-base: cmake-gui')
-source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('457f4f43a32cc8d966939158f2cc09768b93733426aeb9b6da71313ec060f958399d098af363c3c7f18752998347e05073a399de736e5ca0804ec2bba2cee7ac')
-
-build() {
- cd ${pkgname}-${pkgver}
- export CXXFLAGS+=" ${CPPFLAGS}"
- ./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
-
-# install bash completions
- mkdir -p "$pkgdir"/usr/share/bash-completion/completions
- ln -s /usr/share/cmake-${pkgver%.*}/completions/{cmake,cpack,ctest} "$pkgdir"/usr/share/bash-completion/completions
-}
Copied: cmake/repos/extra-x86_64/PKGBUILD (from rev 381795, cmake/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-28 17:24:41 UTC (rev 381796)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=cmake
+pkgver=3.17.2
+pkgrel=1
+pkgdesc='A cross-platform open-source make system'
+arch=('x86_64')
+url="https://www.cmake.org/"
+license=('custom')
+depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp' 'libjsoncpp.so' 'libuv' 'rhash')
+makedepends=('qt5-base' 'python-sphinx' 'emacs')
+optdepends=('qt5-base: cmake-gui')
+source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('4998ec3ac7367cec237187b1568a1935b402c39959c1869c9ae94e013060f6d2e03089eba34187f91063de169df78425dee2aa01acb925347aeb97f99bcad6a2')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export CXXFLAGS+=" ${CPPFLAGS}"
+ ./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
+
+# install bash completions
+ mkdir -p "$pkgdir"/usr/share/bash-completion/completions
+ ln -s /usr/share/cmake-${pkgver%.*}/completions/{cmake,cpack,ctest} "$pkgdir"/usr/share/bash-completion/completions
+}
Deleted: rebuild.list
===================================================================
--- rebuild.list 2020-04-28 17:24:14 UTC (rev 381795)
+++ rebuild.list 2020-04-28 17:24:41 UTC (rev 381796)
@@ -1,2 +0,0 @@
-cmake-fedora
-uranium
Copied: cmake/repos/extra-x86_64/rebuild.list (from rev 381795, cmake/trunk/rebuild.list)
===================================================================
--- rebuild.list (rev 0)
+++ rebuild.list 2020-04-28 17:24:41 UTC (rev 381796)
@@ -0,0 +1,2 @@
+cmake-fedora
+uranium
More information about the arch-commits
mailing list