diff options
author | Luis Martinez | 2021-11-05 15:52:28 -0500 |
---|---|---|
committer | Luis Martinez | 2021-11-05 15:52:28 -0500 |
commit | f4090ffab6308590f51ba60560e1f89080362017 (patch) | |
tree | f0e5e2a37dfb488f75c045c4e73d3a2b4416beb6 /PKGBUILD | |
download | aur-vim-lexima-git.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e3063f767aee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> + +pkgname=vim-lexima-git +pkgver=1.2.0.r14.g6b716e2 +pkgrel=1 +pkgdesc="Vim plugin for auto-closing parentheses" +arch=('any') +url="https://github.com/cohama/lexima.vim" +license=('unknown') +groups=('vim-plugins') +depends=('vim-plugin-runtime') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname::git+$url") +sha256sums=('SKIP') + +pkgver() { + git -C "$pkgname" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' +} + +package() { + cd "$pkgname" + find autoload doc plugin -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |