[arch-commits] Commit in vim-colorsamplerpack/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed May 23 01:41:43 UTC 2018
Date: Wednesday, May 23, 2018 @ 01:41:43
Author: anthraxx
Revision: 327835
upgpkg: vim-colorsamplerpack 2012.10.28-5 (use vimfiles, rm duplicate colors)
- use vimfiles shared directory instead of vim internal vim80
- remove additional duplicate color schemas: jellybeans and molokai
Modified:
vim-colorsamplerpack/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-23 01:13:46 UTC (rev 327834)
+++ PKGBUILD 2018-05-23 01:41:43 UTC (rev 327835)
@@ -4,7 +4,7 @@
pkgname=vim-colorsamplerpack
pkgver=2012.10.28
-pkgrel=4
+pkgrel=5
_scriptid=18915
pkgdesc="Different colorschemes for vim"
arch=('any')
@@ -15,21 +15,19 @@
groups=('vim-plugins')
source=(ColorSamplerPack.zip::"http://www.vim.org/scripts/download_script.php?src_id=$_scriptid"
'LICENSE')
-md5sums=('b0f1bd54b396e3d6032c01ef1fb421b6'
- 'f4639ddafc68f49395c25fb4caf0d6f7')
+sha256sums=('2d0b07a36fa52728f45850933a35ab6172913262fb3aaa2cb32e597cf75859f3'
+ '6d9e25d62ca66835eb24209c8e7ef973932165f65e96f615639027418ab6742d')
build() {
cd ${srcdir}/colors
# This already exist... we can't update it 8(
- rm torte.vim
- rm desert.vim
+ rm torte.vim desert.vim molokai.vim jellybeans.vim
}
package() {
cd ${srcdir}
- installpath="${pkgdir}/usr/share/vim/vim80"
- install -d $installpath/colors/
- install -m644 colors/* $installpath/colors
- install -D -m644 plugin/color_sample_pack.vim $installpath/plugin/themes.vim
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm 644 colors/* -t "${installpath}/colors"
+ install -Dm 644 plugin/color_sample_pack.vim "${installpath}/plugin/themes.vim"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list