summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Nagy2015-06-08 19:36:21 +0200
committerDaniel Nagy2015-06-08 19:36:21 +0200
commit864f240ba74e90e7fd0cc6d903ae56bc4d6b1da0 (patch)
treef84b515856383f88475864edaa209b68ff18034a
downloadaur-864f240ba74e90e7fd0cc6d903ae56bc4d6b1da0.tar.gz
import to aur4
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
-rw-r--r--vim-jquery.install4
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..46e45935ac8
--- /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 00000000000..c3120663189
--- /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 00000000000..56faaf5b008
--- /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'
+}