[arch-commits] Commit in cmake/repos (8 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Fri May 17 18:59:05 UTC 2013
Date: Friday, May 17, 2013 @ 20:59:05
Author: andrea
Revision: 185730
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
cmake/repos/testing-i686/
cmake/repos/testing-i686/PKGBUILD
(from rev 185729, cmake/trunk/PKGBUILD)
cmake/repos/testing-i686/cmake.install
(from rev 185729, cmake/trunk/cmake.install)
cmake/repos/testing-i686/qt4.patch
(from rev 185729, cmake/trunk/qt4.patch)
cmake/repos/testing-x86_64/
cmake/repos/testing-x86_64/PKGBUILD
(from rev 185729, cmake/trunk/PKGBUILD)
cmake/repos/testing-x86_64/cmake.install
(from rev 185729, cmake/trunk/cmake.install)
cmake/repos/testing-x86_64/qt4.patch
(from rev 185729, cmake/trunk/qt4.patch)
------------------------------+
testing-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++
testing-i686/cmake.install | 12 ++++++++++
testing-i686/qt4.patch | 11 ++++++++++
testing-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++
testing-x86_64/cmake.install | 12 ++++++++++
testing-x86_64/qt4.patch | 11 ++++++++++
6 files changed, 136 insertions(+)
Copied: cmake/repos/testing-i686/PKGBUILD (from rev 185729, cmake/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-05-17 18:59:05 UTC (rev 185730)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=cmake
+pkgver=2.8.11
+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')
+makedepends=('qt4' 'emacs')
+optdepends=('qt4: cmake-gui')
+install="${pkgname}.install"
+source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
+md5sums=('be6008f2299613d23fe82ab53ef7472e')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./bootstrap --prefix=/usr \
+ --mandir=/share/man \
+ --docdir=/share/doc/cmake \
+ --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 -Dm644 Docs/cmake-indent.vim "${vimpath}"/indent/cmake-indent.vim
+ install -Dm644 Docs/cmake-syntax.vim "${vimpath}"/syntax/cmake-syntax.vim
+
+ install -Dm644 Docs/cmake-mode.el \
+ "${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
+ emacs -batch -f batch-byte-compile "${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
+
+ install -Dm644 Copyright.txt \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
Copied: cmake/repos/testing-i686/cmake.install (from rev 185729, cmake/trunk/cmake.install)
===================================================================
--- testing-i686/cmake.install (rev 0)
+++ testing-i686/cmake.install 2013-05-17 18:59:05 UTC (rev 185730)
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+ [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: cmake/repos/testing-i686/qt4.patch (from rev 185729, cmake/trunk/qt4.patch)
===================================================================
--- testing-i686/qt4.patch (rev 0)
+++ testing-i686/qt4.patch 2013-05-17 18:59:05 UTC (rev 185730)
@@ -0,0 +1,11 @@
+--- cmake-2.8.10.2/Modules/FindQt4.cmake~ 2013-03-07 16:50:35.388399689 +0000
++++ cmake-2.8.10.2/Modules/FindQt4.cmake 2013-03-07 16:51:35.017991029 +0000
+@@ -497,7 +497,7 @@
+ # check for qmake
+ # Debian uses qmake-qt4
+ # macports' Qt uses qmake-mac
+-find_program(QT_QMAKE_EXECUTABLE NAMES qmake qmake4 qmake-qt4 qmake-mac
++find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac
+ PATHS
+ ENV QTDIR
+ "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};InstallDir]"
Copied: cmake/repos/testing-x86_64/PKGBUILD (from rev 185729, cmake/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-05-17 18:59:05 UTC (rev 185730)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=cmake
+pkgver=2.8.11
+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')
+makedepends=('qt4' 'emacs')
+optdepends=('qt4: cmake-gui')
+install="${pkgname}.install"
+source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
+md5sums=('be6008f2299613d23fe82ab53ef7472e')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./bootstrap --prefix=/usr \
+ --mandir=/share/man \
+ --docdir=/share/doc/cmake \
+ --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 -Dm644 Docs/cmake-indent.vim "${vimpath}"/indent/cmake-indent.vim
+ install -Dm644 Docs/cmake-syntax.vim "${vimpath}"/syntax/cmake-syntax.vim
+
+ install -Dm644 Docs/cmake-mode.el \
+ "${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
+ emacs -batch -f batch-byte-compile "${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
+
+ install -Dm644 Copyright.txt \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
Copied: cmake/repos/testing-x86_64/cmake.install (from rev 185729, cmake/trunk/cmake.install)
===================================================================
--- testing-x86_64/cmake.install (rev 0)
+++ testing-x86_64/cmake.install 2013-05-17 18:59:05 UTC (rev 185730)
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+ [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: cmake/repos/testing-x86_64/qt4.patch (from rev 185729, cmake/trunk/qt4.patch)
===================================================================
--- testing-x86_64/qt4.patch (rev 0)
+++ testing-x86_64/qt4.patch 2013-05-17 18:59:05 UTC (rev 185730)
@@ -0,0 +1,11 @@
+--- cmake-2.8.10.2/Modules/FindQt4.cmake~ 2013-03-07 16:50:35.388399689 +0000
++++ cmake-2.8.10.2/Modules/FindQt4.cmake 2013-03-07 16:51:35.017991029 +0000
+@@ -497,7 +497,7 @@
+ # check for qmake
+ # Debian uses qmake-qt4
+ # macports' Qt uses qmake-mac
+-find_program(QT_QMAKE_EXECUTABLE NAMES qmake qmake4 qmake-qt4 qmake-mac
++find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac
+ PATHS
+ ENV QTDIR
+ "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};InstallDir]"
More information about the arch-commits
mailing list