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

Andrea Scarpino andrea at nymeria.archlinux.org
Mon Feb 18 22:03:18 UTC 2013


    Date: Monday, February 18, 2013 @ 23:03:17
  Author: andrea
Revision: 178245

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

Added:
  cmake/repos/staging-i686/
  cmake/repos/staging-i686/PKGBUILD
    (from rev 178244, cmake/trunk/PKGBUILD)
  cmake/repos/staging-i686/cmake.install
    (from rev 178244, cmake/trunk/cmake.install)
  cmake/repos/staging-x86_64/
  cmake/repos/staging-x86_64/PKGBUILD
    (from rev 178244, cmake/trunk/PKGBUILD)
  cmake/repos/staging-x86_64/cmake.install
    (from rev 178244, cmake/trunk/cmake.install)

------------------------------+
 staging-i686/PKGBUILD        |   49 +++++++++++++++++++++++++++++++++++++++++
 staging-i686/cmake.install   |   12 ++++++++++
 staging-x86_64/PKGBUILD      |   49 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/cmake.install |   12 ++++++++++
 4 files changed, 122 insertions(+)

Copied: cmake/repos/staging-i686/PKGBUILD (from rev 178244, cmake/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-02-18 22:03:17 UTC (rev 178245)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=cmake
+pkgver=2.8.10.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')
+makedepends=('qtbase' 'emacs')
+optdepends=('qtbase: cmake-gui')
+install="${pkgname}.install"
+source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
+md5sums=('097278785da7182ec0aea8769d06860c')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # Qt is built with reduce-relocations
+  export CFLAGS="${CFLAGS} -fPIC"
+  export CXXFLAGS="${CXXFLAGS} -fPIC"
+
+  ./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/staging-i686/cmake.install (from rev 178244, cmake/trunk/cmake.install)
===================================================================
--- staging-i686/cmake.install	                        (rev 0)
+++ staging-i686/cmake.install	2013-02-18 22:03:17 UTC (rev 178245)
@@ -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/staging-x86_64/PKGBUILD (from rev 178244, cmake/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-02-18 22:03:17 UTC (rev 178245)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=cmake
+pkgver=2.8.10.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')
+makedepends=('qtbase' 'emacs')
+optdepends=('qtbase: cmake-gui')
+install="${pkgname}.install"
+source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
+md5sums=('097278785da7182ec0aea8769d06860c')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # Qt is built with reduce-relocations
+  export CFLAGS="${CFLAGS} -fPIC"
+  export CXXFLAGS="${CXXFLAGS} -fPIC"
+
+  ./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/staging-x86_64/cmake.install (from rev 178244, cmake/trunk/cmake.install)
===================================================================
--- staging-x86_64/cmake.install	                        (rev 0)
+++ staging-x86_64/cmake.install	2013-02-18 22:03:17 UTC (rev 178245)
@@ -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
+}




More information about the arch-commits mailing list