[arch-commits] Commit in vim-spell/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Nov 27 18:53:49 UTC 2021
Date: Saturday, November 27, 2021 @ 18:53:48
Author: alerque
Revision: 1055152
upgpkg: vim-spell 20200604-2
Modified:
vim-spell/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-27 18:26:26 UTC (rev 1055151)
+++ PKGBUILD 2021-11-27 18:53:48 UTC (rev 1055152)
@@ -1,14 +1,14 @@
-# Maintaner: Caled Maclennan <caled at alerque.com>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
# Contributor: Gaetan Bisson <bisson at archlinux.org>
pkgbase=vim-spell
pkgver=20200604
-pkgrel=1
+pkgrel=2
pkgdesc='Language files for Vim spell checking'
-arch=('any')
-url='ftp://ftp.vim.org/pub/vim/runtime/spell/'
-license=('LGPL2.1' 'custom')
-depends=('vim')
+arch=(any)
+url='ftp://ftp.vim.org/pub/vim/runtime/spell'
+license=(LGPL2.1 custom)
+depends=(vim)
#pkgname=($(curl $url | awk '(!/\./&&!/check/){print "vim-spell-"$NF}'))
pkgname=(vim-spell-af
@@ -64,12 +64,14 @@
vim-spell-yi
vim-spell-zu)
-for _i in ${pkgname[@]}; do _j=${_i/vim-spell-/}; eval "package_$_i() {
- install -Dm644 $_j.* -t \"\$pkgdir\"/usr/share/vim/vimfiles/spell
- [[ -f README_$_j.txt ]] \
- && install -Dm644 README_$_j.txt \"\$pkgdir\"/usr/share/licenses/$_i/README \
- ||:
-}"; done
+for _i in ${pkgname[@]}; do
+ _j=${_i/vim-spell-/}
+ eval "package_$_i() {
+ pkgdesc+=\" ($_j)\"
+ install -Dm0644 -t \"\$pkgdir/usr/share/vim/vimfiles/spell\" $_j.*
+ install -Dm0644 -t \"\$pkgdir/usr/share/licenses/$_i/\" README_$_j.txt ||:
+ }"
+done
#_source=($(curl $url | awk '(/\./){print "'$url'"$NF}'))
_source=(README.txt
More information about the arch-commits
mailing list