summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormschubert2015-06-12 12:10:35 +0100
committermschubert2015-06-12 12:10:35 +0100
commitc702a58916fa2977f2cd3e94a35cfbd0428b5075 (patch)
treed106e12df13ac3cd3cfde7f39e0a22927c1991cb
downloadaur-c702a58916fa2977f2cd3e94a35cfbd0428b5075.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD22
-rw-r--r--vimdoc.install19
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ff03432c07b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = vim-fakeclip
+ pkgdesc = Pseudo X11-clipboard / screen / tmux register
+ pkgver = 0.2.10
+ pkgrel = 1
+ url = http://www.vim.org/scripts/script.php?script_id=2098
+ install = vimdoc.install
+ arch = i686
+ arch = x86_64
+ groups = vim-plugins
+ license = MIT
+ depends = vim
+ source = vim-fakeclip.zip::http://www.vim.org/scripts/download_script.php?src_id=17281
+ md5sums = c9ae69effaf8adada8b5db4b216e8072
+
+pkgname = vim-fakeclip
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fb7af14ef6e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname=vim-fakeclip
+pkgver=0.2.10
+_scriptid=17281
+pkgrel=1
+pkgdesc="Pseudo X11-clipboard / screen / tmux register"
+arch=('i686' 'x86_64')
+url="http://www.vim.org/scripts/script.php?script_id=2098"
+license=('MIT')
+depends=('vim')
+groups=('vim-plugins')
+install=vimdoc.install
+source=($pkgname.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
+md5sums=('c9ae69effaf8adada8b5db4b216e8072')
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ install -d "$pkgdir"/usr/share/vim/vim74/{doc,autoload,plugin}
+
+ install -m644 doc/fakeclip.txt "$pkgdir"/usr/share/vim/vim74/doc/
+ install -m644 autoload/fakeclip.vim "$pkgdir"/usr/share/vim/vim74/autoload/
+ install -m644 plugin/fakeclip.vim "$pkgdir"/usr/share/vim/vim74/plugin/
+}
diff --git a/vimdoc.install b/vimdoc.install
new file mode 100644
index 00000000000..5246e5c2113
--- /dev/null
+++ b/vimdoc.install
@@ -0,0 +1,19 @@
+post_install() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*