Skip to content

@namuol /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
AUR PKGBUILD for vim-coffee-script-git
# Maintainer: Leif Warner <abimelech@gmail.com>
pkgname=vim-coffeescript-git
pkgver=20110823
pkgrel=1
pkgdesc="CoffeeScript syntax support for Vim."
arch=('any')
url="http://github.com/kchmck/vim-coffee-script"
license=('WTFPL')
depends=('vim')
makedepends=('git')
provides=('vim-coffeescript')
conflicts=('vim-coffeescript')
_gitroot="https://github.com/kchmck/vim-coffee-script.git"
_gitname="vim-coffee-script"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
}
package() {
cd "$srcdir/$_gitname-build"
install -d -m755 "${pkgdir}/usr/share/vim/vimfiles"
cp -r after compiler doc ftdetect ftplugin indent syntax "${pkgdir}/usr/share/vim/vimfiles"
install -D -m644 Readme.md "${pkgdir}/usr/share/doc/vim-coffeescript/Readme.md"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.