该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
groups=("vim-myplugins")
pkgname=("vim-lookupfile" "vim-genutils" "vim-xtermesc" "vim-showmarks" "vim-marksbrowser")
pkgver=1
pkgrel=1
source=("http://vim.sourceforge.net/scripts/download_script.php?src_id=7671" "http://vim.sourceforge.net/scripts/download_script.php?src_id=11399" "http://www.vim.org/scripts/download_script.php?src_id=12757" "http://www.vim.org/scripts/download_script.php?src_id=3342" "http://www.vim.org/scripts/download_script.php?src_id=6408" "lookupfile.vim")
replaces=()
depends=(vim)
conflicts=()
provides=()
install="${groups}.install"
pkgdesc=
license=("GPL")
arch=("i686")
build()
{
msg2 "build start"
installpath=${pkgdir}/${USER}/.vim
install -d ${installpath}/{autoload,doc,plugin,ftplugin}
}
package_vim-lookupfile()
{
msg2 "build start"
installpath=${pkgdir}/${USER}/.vim
install -d ${installpath}/{autoload,doc,plugin,ftplugin}
install -Dm755 ${srcdir}/doc/lookupfile.txt ${installpath}/doc/ || return 1
install -Dm755 ${srcdir}/plugin/lookupfile.vim ${installpath}/plugin/ || return 1
install -Dm755 ${srcdir}/autoload/lookupfile.vim ${installpath}/autoload/ || return 1
install -Dm755 ${srcdir}/lookupfile.vim ${installpath}/ftplugin/ || return 1
}
package_vim-genutils()
{
msg2 "build start"
installpath=${pkgdir}/${USER}/.vim
install -d ${installpath}/{autoload,doc,plugin,ftplugin}
unzip -qqo download_script.php?src_id=11399
install -Dm755 ${srcdir}/plugin/genutils.vim ${installpath}/plugin/ || return 1
install -Dm755 ${srcdir}/autoload/genutils.vim ${installpath}/autoload/ || return 1
}
package_vim-xtermesc()
{
msg2 "build start"
installpath=${pkgdir}/${USER}/.vim
install -d ${installpath}/{autoload,doc,plugin,ftplugin}
msg2 "start copy file..."
install -Dm755 ${srcdir}/"download_script.php?src_id=12757" ${installpath}/plugin/xterm.vim || return 1
}
package_vim-showmarks()
{
msg2 "build start"
installpath=${pkgdir}/${USER}/.vim
install -d ${installpath}/{autoload,doc,plugin,ftplugin}
msg2 "start copy file..."
install -Dm755 ${srcdir}/"download_script.php?src_id=3342" ${installpath}/plugin/showmarks.vim || return 1
}
package_vim-marksbrowser()
{
msg2 "build start"
installpath=${pkgdir}/${USER}/.vim
install -d ${installpath}/{autoload,doc,plugin,ftplugin}
msg2 "start copy file..."
install -Dm755 ${srcdir}/"download_script.php?src_id=6408" ${installpath}/plugin/marksbrowser.vim || return 1
}