Date: Thursday, December 18, 2014 @ 09:28:55 Author: andrea Revision: 227743
Upstream release Modified: cmake/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-12-18 06:41:59 UTC (rev 227742) +++ PKGBUILD 2014-12-18 08:28:55 UTC (rev 227743) @@ -3,7 +3,7 @@ # Contributor: Pierre Schmitz <[email protected]> pkgname=cmake -pkgver=3.0.2 +pkgver=3.1.0 pkgrel=1 pkgdesc='A cross-platform open-source make system' arch=('i686' 'x86_64') @@ -14,8 +14,8 @@ optdepends=('qt5-base: cmake-gui' 'libxkbcommon-x11: cmake-gui') install="${pkgname}.install" -source=("http://www.cmake.org/files/v3.0/${pkgname}-${pkgver}.tar.gz") -md5sums=('db4c687a31444a929d2fdc36c4dfb95f') +source=("http://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz") +md5sums=('188eb7dc9b1b82b363bc51c0d3f1d461') build() { cd ${pkgname}-${pkgver} @@ -36,13 +36,18 @@ vimpath="${pkgdir}/usr/share/vim/vimfiles" 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/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-help.vim \ + "${vimpath}"/help/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-indent.vim \ + "${vimpath}"/indent/ + ln -s /usr/share/cmake-${pkgver%.*}/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/ + emacs -batch -f batch-byte-compile \ + "${pkgdir}"/usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el + ln -s /usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el \ + "${pkgdir}"/usr/share/emacs/site-lisp/ install -Dm644 Copyright.txt \ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
