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

Levente Polyak anthraxx at archlinux.org
Thu Oct 6 12:47:46 UTC 2016


    Date: Thursday, October 6, 2016 @ 12:47:46
  Author: anthraxx
Revision: 277799

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

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

-----------------------------+
 staging-i686/PKGBUILD       |   58 ++++++++++++++++++++++++++++++++++++++++++
 staging-i686/rebuild.list   |    4 ++
 staging-x86_64/PKGBUILD     |   58 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/rebuild.list |    4 ++
 4 files changed, 124 insertions(+)

Copied: cmake/repos/staging-i686/PKGBUILD (from rev 277798, cmake/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-10-06 12:47:46 UTC (rev 277799)
@@ -0,0 +1,58 @@
+# $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.6.2
+pkgrel=2
+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')
+makedepends=('qt5-base' 'python-sphinx' 'emacs')
+optdepends=('qt5-base: cmake-gui'
+            'libxkbcommon-x11: cmake-gui')
+source=("http://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('139d7affdd4e8ab1edfc9f4322d69e43')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+}
+
+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/cmake-help.vim \
+    "${vimpath}"/help/
+  ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-indent.vim \
+    "${vimpath}"/indent/
+  ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-syntax.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/staging-i686/rebuild.list (from rev 277798, cmake/trunk/rebuild.list)
===================================================================
--- staging-i686/rebuild.list	                        (rev 0)
+++ staging-i686/rebuild.list	2016-10-06 12:47:46 UTC (rev 277799)
@@ -0,0 +1,4 @@
+quazip
+gluon
+sfml
+wt

Copied: cmake/repos/staging-x86_64/PKGBUILD (from rev 277798, cmake/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-10-06 12:47:46 UTC (rev 277799)
@@ -0,0 +1,58 @@
+# $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.6.2
+pkgrel=2
+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')
+makedepends=('qt5-base' 'python-sphinx' 'emacs')
+optdepends=('qt5-base: cmake-gui'
+            'libxkbcommon-x11: cmake-gui')
+source=("http://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('139d7affdd4e8ab1edfc9f4322d69e43')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+}
+
+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/cmake-help.vim \
+    "${vimpath}"/help/
+  ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-indent.vim \
+    "${vimpath}"/indent/
+  ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-syntax.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/staging-x86_64/rebuild.list (from rev 277798, cmake/trunk/rebuild.list)
===================================================================
--- staging-x86_64/rebuild.list	                        (rev 0)
+++ staging-x86_64/rebuild.list	2016-10-06 12:47:46 UTC (rev 277799)
@@ -0,0 +1,4 @@
+quazip
+gluon
+sfml
+wt



More information about the arch-commits mailing list