From d9820b1826364b9a9ea563398ae636e2f49c1fe7 Mon Sep 17 00:00:00 2001 From: allddd Date: Thu, 4 Jul 2024 23:52:49 +0200 Subject: [PATCH] upgpkg: vim-plug 0.13.0-1 upstream release fix packaging issues --- .SRCINFO | 15 +++++---------- LICENSE-MIT.txt | 7 ------- PKGBUILD | 31 +++++++++++++------------------ plug.vimrc | 27 --------------------------- vim-plug.install | 17 ----------------- 5 files changed, 18 insertions(+), 79 deletions(-) delete mode 100644 LICENSE-MIT.txt delete mode 100644 plug.vimrc delete mode 100644 vim-plug.install diff --git a/.SRCINFO b/.SRCINFO index f8c6107..7127f6e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/LICENSE-MIT.txt b/LICENSE-MIT.txt deleted file mode 100644 index 003904d..0000000 --- a/LICENSE-MIT.txt +++ /dev/null @@ -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. diff --git a/PKGBUILD b/PKGBUILD index 8aa1819..3ac403f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,28 +1,23 @@ -# Maintainer: noblehelm -# Contributor: oozyslug -# Submitter: oozyslug +# Maintainer: allddd 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: diff --git a/plug.vimrc b/plug.vimrc deleted file mode 100644 index 094d5e4..0000000 --- a/plug.vimrc +++ /dev/null @@ -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() - diff --git a/vim-plug.install b/vim-plug.install deleted file mode 100644 index 9b11b31..0000000 --- a/vim-plug.install +++ /dev/null @@ -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! - " -} -