[arch-commits] Commit in cmake/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Mon Jun 16 21:39:12 UTC 2014


    Date: Monday, June 16, 2014 @ 23:39:12
  Author: andrea
Revision: 215224

upgpkg: cmake 3.0.0-3

create the directory first

Modified:
  cmake/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-16 21:36:27 UTC (rev 215223)
+++ PKGBUILD	2014-06-16 21:39:12 UTC (rev 215224)
@@ -35,11 +35,12 @@
   make DESTDIR="${pkgdir}" install
 
   vimpath="${pkgdir}/usr/share/vim/vimfiles"
-  mkdir -p "${vimpath}"/{help,indent,syntax}
+  install -d "${vimpath}"/{help,indent,syntax}
   ln -s /usr/share/cmake-3.0/editors/vim/cmake-help.vim "${vimpath}"/help/
   ln -s /usr/share/cmake-3.0/editors/vim/cmake-indent.vim "${vimpath}"/indent/
   ln -s /usr/share/cmake-3.0/editors/vim/cmake-syntax.vim "${vimpath}"/syntax/
 
+  install -d "${pkgdir}"/usr/share/emacs/site-lisp/
   emacs -batch -f batch-byte-compile "${pkgdir}"/usr/share/cmake-3.0/editors/emacs/cmake-mode.el
   ln -s /usr/share/cmake-3.0/editors/emacs/cmake-mode.el "${pkgdir}"/usr/share/emacs/site-lisp/
 




More information about the arch-commits mailing list