diff options
author | Daniel Nagy | 2015-06-08 19:36:21 +0200 |
---|---|---|
committer | Daniel Nagy | 2015-06-08 19:36:21 +0200 |
commit | 864f240ba74e90e7fd0cc6d903ae56bc4d6b1da0 (patch) | |
tree | f84b515856383f88475864edaa209b68ff18034a | |
download | aur-vim-jquery.tar.gz |
import to aur4
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | vim-jquery.install | 4 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..46e45935ac8a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = vim-jquery + pkgdesc = Syntax file for jQuery + pkgver = 0.5.2 + pkgrel = 2 + url = http://www.vim.org/scripts/script.php?script_id=2416 + install = vim-jquery.install + arch = any + groups = vim-plugins + license = unknown + depends = vim + source = jquery.vim::http://www.vim.org/scripts/download_script.php?src_id=15752 + md5sums = 61056989ccd7cd0aa207a24681c52fa5 + +pkgname = vim-jquery + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c31206631895 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Daniel Nagy <danielnagy at gmx de> +# Contributor: Adam Russell <adamlr6+arch@gmail.com> +# Contributor: Laszlo Papp <djszapi @ gmail dot com> + +pkgname=vim-jquery +pkgver=0.5.2 +pkgrel=2 +_scriptid=15752 +pkgdesc="Syntax file for jQuery" +arch=('any') +url="http://www.vim.org/scripts/script.php?script_id=2416" +license=('unknown') +depends=('vim') +groups=('vim-plugins') +install=vim-jquery.install +source=(jquery.vim::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid) +md5sums=('61056989ccd7cd0aa207a24681c52fa5') + +package() { + cd "${srcdir}" + local _installpath="${pkgdir}/usr/share/vim/vimfiles" + install -Dm644 jquery.vim "${_installpath}"/syntax/jquery.vim +} diff --git a/vim-jquery.install b/vim-jquery.install new file mode 100644 index 000000000000..56faaf5b0086 --- /dev/null +++ b/vim-jquery.install @@ -0,0 +1,4 @@ +post_install() { + echo 'Add the following line to your vimrc:' + echo 'au BufRead,BufNewFile jquery.*.js set ft=javascript syntax=jquery' +} |