summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrevel2015-06-21 18:04:04 +0200
committerrevel2015-06-21 18:04:04 +0200
commit3ed8162e6a9f5ecb2be6bb6f322404ec9bede72e (patch)
treef460c58f3f04df3116131d9e624759205a7a88e9
downloadaur-3ed8162e6a9f5ecb2be6bb6f322404ec9bede72e.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD21
-rw-r--r--vimdoc.install14
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e723f292f38
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = vim-colorsupport
+ pkgdesc = Use colorschemes written for gvim in color terminals
+ pkgver = 1.0.5
+ pkgrel = 2
+ url = http://www.vim.org/scripts/script.php?script_id=2682
+ install = vimdoc.install
+ arch = any
+ groups = vim-plugins
+ license = custom:vim
+ depends = vim
+ source = colorsupport.vim::http://www.vim.org/scripts/download_script.php?src_id=20938
+ md5sums = 89070803208f3c156888ce6e2e3003dc
+ sha256sums = a1f7db6f9ff21f2924ca025ecf195d3f09e24343572cbcea0300fba5dcd3c3a1
+
+pkgname = vim-colorsupport
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0723bd5069b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: revel <revelΘmuub·net>
+# Contributor: Laszlo Papp <djszapi @ gmail at com>
+
+pkgname=vim-colorsupport
+pkgver=1.0.5
+_scriptid=20938
+pkgrel=2
+pkgdesc='Use colorschemes written for gvim in color terminals'
+arch=('any')
+url='http://www.vim.org/scripts/script.php?script_id=2682'
+license=('custom:vim')
+depends=('vim')
+groups=('vim-plugins')
+install=vimdoc.install
+source=('colorsupport.vim'::"http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}")
+md5sums=('89070803208f3c156888ce6e2e3003dc')
+sha256sums=('a1f7db6f9ff21f2924ca025ecf195d3f09e24343572cbcea0300fba5dcd3c3a1')
+
+package() {
+ install -Dm644 "colorsupport.vim" "$pkgdir/usr/share/vim/vimfiles/plugin/colorsupport.vim"
+}
diff --git a/vimdoc.install b/vimdoc.install
new file mode 100644
index 00000000000..0ffd9dde87b
--- /dev/null
+++ b/vimdoc.install
@@ -0,0 +1,14 @@
+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
+}