diff options
author | Damien Tardy-Panis | 2022-01-16 11:24:58 +0100 |
---|---|---|
committer | Damien Tardy-Panis | 2022-01-16 11:24:58 +0100 |
commit | cf58ddf72a16516038a3f61397a4e0caec153472 (patch) | |
tree | 4a71b85542c889b2494d629a5f9b189784601225 /PKGBUILD | |
download | aur-vim-taboo-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f843b4a2b1e2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=vim-taboo-git +pkgver=r46.caf9481 +pkgrel=1 +pkgdesc="A Vim plugin to manage tabs" +arch=("any") +url="https://github.com/gcmt/taboo.vim" +license=("MIT") + +groups=( + 'vim-plugins' +) + +makedepends=( + 'git' +) + +depends=( + 'vim-runtime' +) + +source=( + "git+https://github.com/gcmt/taboo.vim.git" +) + +sha512sums=( + 'SKIP' +) + +pkgver() { + cd taboo.vim + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd taboo.vim + install -D -m644 plugin/taboo.vim "${pkgdir}/usr/share/vim/vimfiles/plugin/taboo.vim" + install -D -m644 doc/taboo.txt "${pkgdir}/usr/share/vim/vimfiles/doc/taboo.txt" + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" +} |