updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / vim-bash-support / PKGBUILD
blobc601353f8c25d21eae5d5471f8ffecca511741ee
1 # Maintainer: 3ED <krzysztof1987 _at_ gmail _dot_ com>
3 pkgname=vim-bash-support
4 pkgver=3.9
5 _srcid=17122
6 pkgrel=1
7 pkgdesc='BASH-IDE - Write and run BASH-scripts using menus and hotkeys. '
8 arch=('any')
9 url='http://vim.sourceforge.net/scripts/script.php?script_id=365'
10 license=('custom:vim')
11 depends=('vim')
12 optdepends=('bashdb: bash debugger')
13 install='vimdoc.install'
14 source=("vim-bash-support-${pkgver}.zip::http://www.vim.org/scripts/download_script.php?src_id=$_srcid")
15 sha256sums=('2733ca8ebce29168020c18f27c7f9b0bc4efc4c31741624e5c81d6ffbf0813cf')
17 package() {
18   cd "$srcdir"
20   _VIM_FILES_DIR="$pkgdir"/usr/share/vim/vimfiles/
22   install -dm755 "${_VIM_FILES_DIR}"
24   find {bash-support,doc,ftplugin,plugin} -type d \
25     -exec install -dm755 "${_VIM_FILES_DIR}/{}" \;
26   find {bash-support,doc,ftplugin,plugin} -not -type d \
27     -exec install -m644 "{}" "${_VIM_FILES_DIR}/{}" \;