summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmeGa2015-07-08 02:59:05 -0500
committerOmeGa2015-07-08 02:59:05 -0500
commit5811c6210f618891263ff8df0b0715c6179b5693 (patch)
treeae8c200504d809cfdefc82b50891d12ffaef9ee0
downloadaur-vim-bufferline-git.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD35
-rw-r--r--vim-bufferline-git.install14
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b3023ce8e1a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = vim-bufferline-git
+ pkgdesc = Super simple plugin to show the list of buffers in the command bar.
+ pkgver = r42.1788138
+ pkgrel = 1
+ url = https://github.com/bling/vim-bufferline
+ install = vim-bufferline-git.install
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = vim
+ source = vim-bufferline-git::git://github.com/bling/vim-bufferline.git
+ sha1sums = SKIP
+
+pkgname = vim-bufferline-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..958d2338802
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: OmeGa <omega [U+0040] mailoo [.] org>
+
+pkgname=vim-bufferline-git
+pkgver=r42.1788138
+pkgrel=1
+pkgdesc="Super simple plugin to show the list of buffers in the command bar."
+arch=('any')
+url="https://github.com/bling/vim-bufferline"
+license=('MIT')
+depends=('vim')
+makedepends=('git')
+install=$pkgname.install
+source=("$pkgname"::'git://github.com/bling/vim-bufferline.git')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ install -Dm644 plugin/bufferline.vim \
+ "$pkgdir/usr/share/vim/vimfiles/plugin/bufferline.vim"
+ install -Dm644 doc/bufferline.txt \
+ "$pkgdir/usr/share/vim/vimfiles/doc/bufferline.txt"
+
+ find autoload* -type f -exec install -Dm644 '{}' \
+ "$pkgdir/usr/share/vim/vimfiles/{}" \;
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/vim-bufferline/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/vim-bufferline-git.install b/vim-bufferline-git.install
new file mode 100644
index 00000000000..ad181cbcf32
--- /dev/null
+++ b/vim-bufferline-git.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
+}