diff options
Diffstat (limited to 'abs/core/cmake/PKGBUILD')
-rw-r--r-- | abs/core/cmake/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/cmake/PKGBUILD b/abs/core/cmake/PKGBUILD new file mode 100644 index 0000000..60e7f35 --- /dev/null +++ b/abs/core/cmake/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 27686 2009-02-24 20:21:28Z pierre $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# Contributor: damir <damir@archlinux.org> +# Contributor: Konstantinos Pachnis <kpachnis@mes-direct.com> + +pkgname=cmake +pkgver=2.6.3 +pkgrel=1 +pkgdesc="CMake is a cross-platform open-source make system" +arch=('i686' 'x86_64') +license=('custom') +url="http://www.cmake.org" +depends=('expat' 'xmlrpc-c') +makedepends=('qt') +optdepends=('qt: cmake-gui') +source=("http://www.cmake.org/files/v2.6/$pkgname-$pkgver.tar.gz") +md5sums=('5ba47a94ce276f326abca1fd72a7e7c6') + +build() { + cd $srcdir/$pkgname-$pkgver + ./bootstrap --prefix=/usr \ + --mandir=/share/man \ + --docdir=/share/doc/cmake \ + --system-libs \ + --qt-gui + make || return 1 + make DESTDIR=$pkgdir install + + install -D -m644 Docs/cmake-indent.vim $pkgdir/usr/share/vim/indent/cmake-indent.vim + install -D -m644 Docs/cmake-syntax.vim $pkgdir/usr/share/vim/syntax/cmake-syntax.vim + install -D -m644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el + install -D -m644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/Copyright.txt +} |