updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-cctree / PKGBUILD
blob253cae165f7919584bbbc5417b47eba0cf3e29cf
1 # Maintainer: Alessandro Pezzoni <alessandro_pezzoni@lavabit.com>
2 # Contributor: <ndowens.aur at gmail dot com>
3 pkgname=vim-cctree
4 pkgver=1.60
5 pkgrel=2
6 pkgdesc="C Call-Tree Explorer - Source-code analysis, real-time display of code flow"
7 arch=("i686" "x86_64")
8 url="http://www.vim.org/scripts/script.php?script_id=2368"
9 license=('custom')
10 depends=("vim" "cscope")
11 install=vimdoc.install
12 source=("cctree.vim::http://www.vim.org/scripts/download_script.php?src_id=16077"
13         "cctree.txt::https://sites.google.com/site/vimcctree/cctree.txt?attredirects=0"
14         "LICENSE")
15 md5sums=('80d57ef7e0d03d24d009e8fbeddb8abc'
16          '6e7dd920acdcf3eb636098434a3cbeb2'
17          '524189b81e0caaf10e6469a01c3b3db9')
19 package() {
20           cd $srcdir/ 
22           install -d ${pkgdir}/usr/share/{licenses/$pkgname,vim/vimfiles/{doc,plugin}}
23           
24           install -Dm644 cctree.vim \
25                   ${pkgdir}/usr/share/vim/vimfiles/plugin/cctree.vim
26           
27           install -Dm644 cctree.txt \
28                   ${pkgdir}/usr/share/vim/vimfiles/doc/CCTree.txt
29           
30           install -Dm644 $srcdir/LICENSE \
31                   $pkgdir/usr/share/licenses/$pkgname