# Maintainer: Rhinoceros pkgname=vim-diffchar pkgver=9.7 pkgrel=1 pkgdesc="Improve vim's diff mode, by finding exact differences between lines, character by character" arch=('any') url='http://www.vim.org/scripts/script.php?script_id=4932' license=('MIT') depends=('vim') groups=('vim-plugins') source=("$pkgname-$pkgver.zip::https://www.vim.org/scripts/download_script.php?src_id=28608" "${pkgname}-LICENSE::https://raw.githubusercontent.com/rickhowe/diffchar.vim/master/LICENSE") sha256sums=('8f317a765250024a07a41fa6bb790723c94056c4968000c5576c214aa1ebda13' 'f8cf164657d54488d08c1e2aa50696b284520c66d7d8916742acc391e548328c') prepare() { rm doc/tags } package() { _installpath="${pkgdir}/usr/share/vim/vimfiles" mkdir -p "${_installpath}" cp -r autoload doc plugin "${_installpath}" install -Dm644 "${pkgname}-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }