updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / vim-vimoutliner / install.sh
blob908fe46806b12c15b3d78709a8ee4009d36e512a
1 #!/bin/sh -e
3 pkgname=$1
4 src=$2
5 pkgdir=$3
7 docdir=$pkgdir/usr/share/doc/$pkgname
8 install -d $docdir/
9 install -m644 \
10 $src/{CHANGELOG,INSTALL,LICENSE,VERSION,vimoutlinerrc} \
11 $docdir/
13 install -d $pkgdir/usr/bin/
14 install -m755 $src/add-ons/scripts/otl2html.py $pkgdir/usr/bin/
15 install -m755 $src/scripts/vo_maketags.pl $pkgdir/usr/bin/
17 install -d $pkgdir/usr/share/vim/vimfiles/colors/
18 install -m644 $src/colors/* $pkgdir/usr/share/vim/vimfiles/colors/
20 for x in doc ftplugin syntax; do
21 install -d $pkgdir/usr/share/vim/vimfiles/$x/
22 install -m644 $src/$x/* $pkgdir/usr/share/vim/vimfiles/$x/
23 done
25 install -d $pkgdir/usr/share/vim/vimfiles/plugins/
26 install -m644 $src/add-ons/plugins/* $pkgdir/usr/share/vim/vimfiles/plugins/