diff options
author | Rhinoceros | 2019-12-16 14:08:02 +1100 |
---|---|---|
committer | Rhinoceros | 2019-12-16 14:08:02 +1100 |
commit | 3b53ed8ea425a0d3b2d1ed58af255704f08fbd17 (patch) | |
tree | a757c0db2280b31590edf125b9fb687d0c54c4f2 /PKGBUILD | |
download | aur-vim-csv.tar.gz |
Initial commit of vim-csv 31-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25e2a7a715b7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> + +pkgname=vim-csv +pkgver=31 +pkgrel=1 +pkgdesc='csv.vim: a filetype plugin for csv files' +arch=('any') +url='https://www.vim.org/scripts/script.php?script_id=2830' +license=('unknown') +depends=('vim>=7.4') +groups=('vim-plugins') +source=("$pkgname-$pkgver.vmb::https://www.vim.org/scripts/download_script.php?src_id=22798") +sha256sums=('d26b789c71cbaf4dd6912363bbf4fad53c248080ad53a74cf49b3660dc4007e5') + +package() { + _installpath="${pkgdir}/usr/share/vim/vimfiles" + mkdir -p "${_installpath}" + vim -c "UseVimball ${_installpath}" -c q \ + "${srcdir}/${pkgname}-${pkgver}.vmb" + rm "${_installpath}/.VimballRecord" + rm "${_installpath}/doc/tags" +} |