diff options
author | OmeGa | 2015-07-08 02:41:08 -0500 |
---|---|---|
committer | OmeGa | 2015-07-08 02:41:08 -0500 |
commit | 940b0d11feaa051cde64ecf98262bf2b2147e472 (patch) | |
tree | b6c8ca1d5e2d7eac7feb0d6f99eb4a9934221b14 /PKGBUILD | |
download | aur-tmuxline-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
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: |