summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOmeGa2015-07-08 02:41:08 -0500
committerOmeGa2015-07-08 02:41:08 -0500
commit940b0d11feaa051cde64ecf98262bf2b2147e472 (patch)
treeb6c8ca1d5e2d7eac7feb0d6f99eb4a9934221b14 /PKGBUILD
downloadaur-tmuxline-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..77ca58cd01a7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: OmeGa <omega [U+0040] mailoo [.] org>
+
+pkgname=tmuxline-git
+pkgver=r41.725a511
+pkgrel=1
+pkgdesc="Simple tmux statusline generator with support for powerline symbols and airline integration."
+arch=('any')
+url="https://github.com/edkolev/tmuxline.vim"
+license=('MIT')
+depends=('tmux' 'vim')
+makedepends=('git')
+install=$pkgname.install
+source=("$pkgname"::'git://github.com/edkolev/tmuxline.vim.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/tmuxline.vim \
+ "$pkgdir/usr/share/vim/vimfiles/plugin/tmuxline.vim"
+ install -Dm644 doc/tmuxline.txt \
+ "$pkgdir/usr/share/vim/vimfiles/doc/tmuxline.txt"
+
+ find autoload* -type f -exec install -Dm644 '{}' \
+ "$pkgdir/usr/share/vim/vimfiles/{}" \;
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/tmuxline/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: