summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2016-07-09 19:51:54 +1000
committerRhinoceros2016-07-09 19:51:54 +1000
commit4a3b7fbec771089ed489aa290a8f49fc8d449107 (patch)
tree7524b83190dea4c4a80dc8d5eeab8041546c18c1
downloadaur-4a3b7fbec771089ed489aa290a8f49fc8d449107.tar.gz
Initial commit of 6.2-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD25
-rw-r--r--vimdoc.install12
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..71facd9dfa0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sat Jul 9 09:51:42 UTC 2016
+pkgbase = vim-diffchar
+ pkgdesc = Improve vim's diff mode, by finding exact differences between lines, character by character
+ pkgver = 6.2
+ pkgrel = 1
+ url = http://www.vim.org/scripts/script.php?script_id=4932
+ install = vimdoc.install
+ arch = any
+ groups = vim-plugins
+ license = unknown
+ depends = vim
+ source = vim-diffchar-6.2.zip::http://www.vim.org/scripts/download_script.php?src_id=24319
+ sha256sums = 4e24267f8c9510365b5ee2e70e873e78ea0bcdc88e69eb21ec612180998cfdf3
+
+pkgname = vim-diffchar
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e15986f12a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
+
+pkgname=vim-diffchar
+pkgver=6.2
+pkgrel=1
+pkgdesc="Improve vim's diff mode, by finding exact differences between lines, character by character"
+arch=('any')
+url='http://www.vim.org/scripts/script.php?script_id=4932'
+license=('unknown')
+depends=('vim')
+groups=('vim-plugins')
+install=vimdoc.install
+source=("$pkgname-$pkgver.zip::http://www.vim.org/scripts/download_script.php?src_id=24319")
+sha256sums=('4e24267f8c9510365b5ee2e70e873e78ea0bcdc88e69eb21ec612180998cfdf3')
+
+prepare() {
+ rm doc/tags
+}
+
+package() {
+ _installpath="${pkgdir}/usr/share/vim/vimfiles"
+ mkdir -p "${_installpath}"
+ cp -r autoload doc plugin "${_installpath}"
+# install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/vimdoc.install b/vimdoc.install
new file mode 100644
index 00000000000..5ed5b366b56
--- /dev/null
+++ b/vimdoc.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo -n 'Updating vim help tags...'
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ':helptags /usr/share/vim/vimfiles/doc' --cmd ':q' > /dev/null 2>&1
+ echo 'done.'
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ post_install
+}