[arch-commits] Commit in cmake/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Nov 17 01:48:24 UTC 2012
Date: Friday, November 16, 2012 @ 20:48:24
Author: allan
Revision: 171294
upgpkg: cmake 2.8.10.1-2
byte-compile emacs file (FS#26473)
Modified:
cmake/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-17 01:24:10 UTC (rev 171293)
+++ PKGBUILD 2012-11-17 01:48:24 UTC (rev 171294)
@@ -4,13 +4,13 @@
pkgname=cmake
pkgver=2.8.10.1
-pkgrel=1
+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=('qt')
+makedepends=('qt' 'emacs')
optdepends=('qt: cmake-gui')
install="${pkgname}.install"
source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
@@ -35,8 +35,10 @@
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
More information about the arch-commits
mailing list