summaryrefslogtreecommitdiff
path: root/extra/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cmake')
-rw-r--r--extra/cmake/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
index 7b54bd725..6088c88ad 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD 146707 2012-01-16 19:49:18Z dreisner $
+# $Id: PKGBUILD 156521 2012-04-20 06:48:44Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=cmake
-pkgver=2.8.7
-pkgrel=2
+pkgver=2.8.8
+pkgrel=1
pkgdesc="A cross-platform open-source make system"
arch=('i686' 'x86_64')
+url="http://www.cmake.org/"
license=('custom')
-url="http://www.cmake.org"
depends=('curl' 'libarchive' 'shared-mime-info')
makedepends=('qt')
optdepends=('qt: cmake-gui')
install="${pkgname}.install"
source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
-md5sums=('e1b237aeaed880f65dec9c20602452f6')
+md5sums=('ba74b22c788a0c8547976b880cd02b17')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
@@ -24,7 +24,7 @@ build() {
--docdir=/share/doc/cmake \
--system-libs \
--qt-gui \
- --parallel=2
+ --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
}
@@ -36,5 +36,6 @@ package() {
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
+
install -Dm644 Copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}