diff options
author | Luis Martinez | 2021-10-14 01:21:09 -0500 |
---|---|---|
committer | Luis Martinez | 2021-10-14 01:28:28 -0500 |
commit | 67bfc7f5e2d5b7d2f00640215407fa2c6d90eb7a (patch) | |
tree | e6976ba927b83dd7afbdcac8d05de8a571e76226 /PKGBUILD | |
parent | 5eaf60e9722e3e7f77a5ad52cf2ddd1167d53997 (diff) | |
download | aur-vim-vsnip-git.tar.gz |
package cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -1,16 +1,20 @@ -# Maintainer: Max Gautier <mg+archlinux@max.gautier.name> -_pkgname=vim-vsnip -pkgname=${_pkgname}-git -pkgver=master +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> +# Contributor: Max Gautier <mg+archlinux@max.gautier.name> + +pkgname=vim-vsnip-git +pkgver=r304.9ac8044 pkgrel=1 -pkgdesc="VSCode(LSP)'s snippet feature in vim." +pkgdesc="Snippet plugin for vim that supports LSP/VSCode's snippet format" arch=('any') url="https://github.com/hrsh7th/vim-vsnip" license=('MIT') groups=('vim-plugins') -depends=('vim') +depends=('vim-plugin-runtime') optdepends=('vim-vsnip-integ: LSP Client support') makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +install=vsnip.install source=("$pkgname::git+$url") md5sums=('SKIP') @@ -21,9 +25,7 @@ pkgver() { package() { cd "$pkgname" - - local vimfiles="$pkgdir/usr/share/vim/vimfiles/" - install -d "$vimfiles" - cp -dr --no-preserve=ownership autoload doc misc plugin "$vimfiles" - install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + find autoload doc misc plugin -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" } |