summaryrefslogtreecommitdiff
path: root/staging/cmake/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-04 12:05:33 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-04 12:05:33 -0300
commit572db5155dc23eb1c4f65736b9ca5507eed6fbd2 (patch)
tree687a7c5627b76004103420d1575528fbfc0ff4b7 /staging/cmake/PKGBUILD
parentca2e05bb7791418f2af678704160d56d8184a21a (diff)
parentd1d68784dc66793601c239fa64cc0e02ebd9444e (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: kde-unstable/kdemultimedia/PKGBUILD libre/mplayer-libre/PKGBUILD social/diaspora-git/PKGBUILD staging/php/PKGBUILD staging/redland/PKGBUILD
Diffstat (limited to 'staging/cmake/PKGBUILD')
-rw-r--r--staging/cmake/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/staging/cmake/PKGBUILD b/staging/cmake/PKGBUILD
new file mode 100644
index 000000000..a2972c813
--- /dev/null
+++ b/staging/cmake/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 145835 2012-01-02 19:34:59Z dreisner $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=cmake
+pkgver=2.8.7
+pkgrel=2
+pkgdesc="A cross-platform open-source make system"
+arch=('i686' 'x86_64')
+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')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ ./bootstrap --prefix=/usr \
+ --mandir=/share/man \
+ --docdir=/share/doc/cmake \
+ --system-libs \
+ --qt-gui \
+ --parallel=2
+ make
+}
+
+package() {
+ cd "${srcdir}"/${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
+ install -Dm644 Copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}