[ create a new paste ] login | about

Link: http://codepad.org/j5FwhGmx    [ raw code | fork ]

Plain Text, pasted on Dec 31:
# Contributor: capsensitive
# Contributor: Laszlo Papp
pkgname=vim-slimv
pkgver=0.7.4
_script_id=2531
_src_id=14527
pkgrel=1
pkgdesc="Lisp and Clojure REPL inside Vim with profiling and Hyperspec lookup, like SLIME"
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=${script_id}"
license=('custom')
depends=(vim python2)
groups=('vim-plugins')
install=vimdoc.install
source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_src_id}
        license.txt)

build() {
    sed -i 's/\/usr\/bin\/env python)/\/usr\/bin\/env python2/g' ./ftplugin/slimv.py || return 1
    install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,ftdetect,syntax,indent,ftplugin}
    install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/vimfiles/doc/ && \
    install -Dm755 ${srcdir}/ftdetect/* ${pkgdir}/usr/share/vim/vimfiles/ftdetect/ && \
    cp -aR ${srcdir}/{ftplugin,indent,syntax} ${pkgdir}/usr/share/vim/vimfiles && \
    install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}

md5sums=('5a6e87005a459e527bc44c8889a68542'
         'efbd5986e691ce8c876fb86e8f5961ea')


Create a new paste based on this one


Comments: