summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 207eff9fad2297fac3f596134c1bd3e427a58eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Florian Plaza Onate <florian dot plaza at gmail dot com>
# Contributor: Laszlo Papp <djszapi at gmail dot com>
pkgname=vim-omlet
pkgver=0.13
_scriptid=4135
pkgrel=2
pkgdesc="Much better OCaml indentation, and more"
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=1196"
license=('GPL2')
depends=(vim)
groups=('vim-plugins')
install=vimdoc.install
source=(http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
md5sums=('3f4781f25002862ad1af07008bd7fbc1')

package() {
	_vim_dir=usr/share/vim/vimfiles
	
    install -d ${pkgdir}/${_vim_dir}/{ftdetect,ftplugin,indent,syntax}

    cd ${srcdir}/omlet-${pkgver}/
	 
	for _i in ftdetect ftplugin indent syntax; do 
		install -Dm755 ${_i}/* ${pkgdir}/${_vim_dir}/${_i}/ || return 1
	done
}