upgpkg: vim-plug 0.13.0-1

upstream release

fix packaging issues
This commit is contained in:
allddd
2024-07-04 23:52:49 +02:00
parent 8989fa106c
commit d9820b1826
5 changed files with 18 additions and 79 deletions
+5 -10
View File
@@ -1,19 +1,14 @@
pkgbase = vim-plug
pkgdesc = A vim plugin manager
pkgver = 0.11.0
pkgver = 0.13.0
pkgrel = 1
url = http://github.com/junegunn/vim-plug
install = vim-plug.install
url = https://github.com/junegunn/vim-plug
arch = any
license = MIT
depends = vim
provides = vim-plug
conflicts = vim-plug-git
source = https://github.com/junegunn/vim-plug/archive/0.11.0.tar.gz
source = LICENSE-MIT.txt
source = plug.vimrc
sha512sums = 79ff462790dad8e517a60f698d18e7038bc14f3f018c75a45d840d6f47c9987ee12cd84b44acb3b2fbc0d0e10ce9449aad51656c67d8b3ba675225e3c58459a2
sha512sums = aef00f3c6c9e529f40180f5e05a0c06dc614df3419969469baf574ed85611321c34415c3c731ffd5f6dfcf4ec9a34698b7851e2d9b5a46efa8de2410aa626fa8
sha512sums = 8e15c2074d0ce36daa0568167bcbcaf1038b8f65edcab661c9d41a9a18714b27accab28f5065408852329827ff4c84c03102c17bd542962cde1f057e88c4044c
conflicts = vim-plug
source = https://github.com/junegunn/vim-plug/archive/0.13.0/vim-plug-0.13.0.tar.gz
sha256sums = 682c8629d766236dc4c8bd16c545b8d9ca58cd06de2b1887b061d24c6b022903
pkgname = vim-plug
-7
View File
@@ -1,7 +0,0 @@
Copyright (C) 2010 http://github.com/gmarik
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+13 -18
View File
@@ -1,28 +1,23 @@
# Maintainer: noblehelm <noblehlem at gmail dot com>
# Contributor: oozyslug <oozyslug at gmail dot com>
# Submitter: oozyslug <oozyslug at gmail dot com>
# Maintainer: allddd <allddd (at) proton (dot) me>
pkgname=vim-plug
pkgver=0.11.0
pkgver=0.13.0
pkgrel=1
pkgdesc="A vim plugin manager"
pkgdesc='A vim plugin manager'
arch=('any')
url="http://github.com/junegunn/vim-plug"
url='https://github.com/junegunn/vim-plug'
license=('MIT')
depends=('vim')
conflicts=('vim-plug-git')
provides=('vim-plug')
source=("https://github.com/junegunn/vim-plug/archive/${pkgver}.tar.gz"
'LICENSE-MIT.txt'
'plug.vimrc'
)
sha512sums=('79ff462790dad8e517a60f698d18e7038bc14f3f018c75a45d840d6f47c9987ee12cd84b44acb3b2fbc0d0e10ce9449aad51656c67d8b3ba675225e3c58459a2'
'aef00f3c6c9e529f40180f5e05a0c06dc614df3419969469baf574ed85611321c34415c3c731ffd5f6dfcf4ec9a34698b7851e2d9b5a46efa8de2410aa626fa8'
'8e15c2074d0ce36daa0568167bcbcaf1038b8f65edcab661c9d41a9a18714b27accab28f5065408852329827ff4c84c03102c17bd542962cde1f057e88c4044c')
install=${pkgname}.install
conflicts=('vim-plug')
source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('682c8629d766236dc4c8bd16c545b8d9ca58cd06de2b1887b061d24c6b022903')
package() {
install -Dm 644 ${pkgname}-${pkgver}/plug.vim ${pkgdir}/usr/share/vim/vimfiles/autoload/plug.vim
install -Dm 644 LICENSE-MIT.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm 644 plug.vimrc ${pkgdir}/usr/share/vim-plug/vimrc.sample
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm644 plug.vim -t "${pkgdir}/usr/share/vim/vimfiles/autoload/"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -Dm644 doc/plug.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
# vim: ts=4 sw=4 et:
-27
View File
@@ -1,27 +0,0 @@
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
Plug 'junegunn/seoul256.vim'
Plug 'junegunn/vim-easy-align'
" Group dependencies, vim-snippets depends on ultisnips
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
" On-demand loading
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
" Using git URL
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
" Plugin options
Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' }
" Plugin outside ~/.vim/plugged with post-update hook
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }
" Unmanaged plugin (manually installed and updated)
Plug '~/my-prototype-plugin'
call plug#end()
-17
View File
@@ -1,17 +0,0 @@
post_install() {
echo "
>>> To use vim-plug, please check the file /usr/share/vim-plug/vimrc.sample
>>> and update your ~/.vimrc file, accordingly
"
}
post_upgrade() {
post_install $1
}
post_remove() {
echo "
>>> Please remember to remove plugins from your ~/.vimrc file
>>> and from your ~/.vim directory!
"
}