[arch-commits] Commit in cmake/repos (6 files)

Felix Yan felixonmars at archlinux.org
Wed Sep 20 19:42:58 UTC 2017


    Date: Wednesday, September 20, 2017 @ 19:42:57
  Author: felixonmars
Revision: 305958

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cmake/repos/testing-i686/
  cmake/repos/testing-i686/PKGBUILD
    (from rev 305956, cmake/trunk/PKGBUILD)
  cmake/repos/testing-i686/rebuild.list
    (from rev 305956, cmake/trunk/rebuild.list)
  cmake/repos/testing-x86_64/
  cmake/repos/testing-x86_64/PKGBUILD
    (from rev 305956, cmake/trunk/PKGBUILD)
  cmake/repos/testing-x86_64/rebuild.list
    (from rev 305956, cmake/trunk/rebuild.list)

-----------------------------+
 testing-i686/PKGBUILD       |   52 ++++++++++++++++++++++++++++++++++++++++++
 testing-i686/rebuild.list   |    4 +++
 testing-x86_64/PKGBUILD     |   52 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/rebuild.list |    4 +++
 4 files changed, 112 insertions(+)

Copied: cmake/repos/testing-i686/PKGBUILD (from rev 305956, cmake/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-09-20 19:42:57 UTC (rev 305958)
@@ -0,0 +1,52 @@
+# $Id$
+# 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.9.3
+pkgrel=1
+pkgdesc='A cross-platform open-source make system'
+arch=('i686' '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=('30058cf4c154221846d1cd22eaf44a297d2a2d020a443f3e6f40384dfb86ee9a639a1299aa9f187f230505b2a6ee0fe69fbf5e80410711a6ac3d7a07b37f8dfc')
+
+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}"/{help,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/
+
+  install -Dm644 Copyright.txt \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: cmake/repos/testing-i686/rebuild.list (from rev 305956, cmake/trunk/rebuild.list)
===================================================================
--- testing-i686/rebuild.list	                        (rev 0)
+++ testing-i686/rebuild.list	2017-09-20 19:42:57 UTC (rev 305958)
@@ -0,0 +1,4 @@
+quazip
+gluon
+sfml
+wt

Copied: cmake/repos/testing-x86_64/PKGBUILD (from rev 305956, cmake/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-09-20 19:42:57 UTC (rev 305958)
@@ -0,0 +1,52 @@
+# $Id$
+# 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.9.3
+pkgrel=1
+pkgdesc='A cross-platform open-source make system'
+arch=('i686' '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=('30058cf4c154221846d1cd22eaf44a297d2a2d020a443f3e6f40384dfb86ee9a639a1299aa9f187f230505b2a6ee0fe69fbf5e80410711a6ac3d7a07b37f8dfc')
+
+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}"/{help,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/
+
+  install -Dm644 Copyright.txt \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: cmake/repos/testing-x86_64/rebuild.list (from rev 305956, cmake/trunk/rebuild.list)
===================================================================
--- testing-x86_64/rebuild.list	                        (rev 0)
+++ testing-x86_64/rebuild.list	2017-09-20 19:42:57 UTC (rev 305958)
@@ -0,0 +1,4 @@
+quazip
+gluon
+sfml
+wt



More information about the arch-commits mailing list