[Frugalware-darcs] frugalware-current: vim-spell-hu-20060413-1-i686

VMiklos vmiklos at frugalware.org
Sun Jun 17 02:03:31 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070616235847-e2957-c4a21555004d2e14dbf61d3509228b72b2a95f03.gz;

[vim-spell-hu-20060413-1-i686
VMiklos <vmiklos at frugalware.org>**20070616235847
 new package
] {
adddir ./source/locale-extra/vim-spell-hu
addfile ./source/include/vim-spell.sh
hunk ./source/include/vim-spell.sh 1
+#!/bin/sh
+
+###
+# = vim-spell.sh(3)
+# Miklos Vajna <vmiklos at frugalware.org>
+#
+# == NAME
+# vim-spell.sh - for Frugalware
+#
+# == SYNOPSIS
+# Common schema for vim dictonary packages.
+#
+# == EXAMPLE
+# --------------------------------------------------
+# _F_vim_lang=hu
+# pkgver=20060413
+# _F_vim_desc=Hungarian
+# _F_vim_encodings=('cp1250' 'iso-8859-2' 'utf-8')
+# Finclude vim-spell
+# --------------------------------------------------
+#
+# == OPTIONS
+# * _F_vim_lang: the language code of the dictionary
+# * _F_vim_desc: the language of the dictionary
+# * _F_vim_encodings: available encodings
+###
+[ -z "$pkgver" ] && "error: no pkgver is set!"
+
+###
+# == OVERWRITTEN VARIABLES
+# * pkgname
+# * pkgrel
+# * url
+# * rodepends()
+# * groups()
+# * archs()
+# * up2date
+# * source()
+###
+pkgname=vim-spell-$_F_vim_lang
+pkgrel=1
+pkgdesc="$_F_vim_desc spellcheck files for VIM."
+url="http://ftp.vim.org/pub/vim/unstable/runtime/spell/"
+rodepends=('vim>=7.0')
+groups=('locale-extra')
+archs=('i686' 'x86_64')
+up2date="date --date \$(lynx -dump http://ftp.vim.org/pub/vim/unstable/runtime/spell/|grep '$_F_vim_lang\..*\.spl '|sed 's/.* \([^- ]*-[^- ]*-[^- ]*\) .*/\1/;q') +%Y%m%d"
+source=(http://ftp.vim.org/pub/vim/unstable/runtime/spell/README_hu.txt)
+for i in ${_F_vim_encodings[@]}
+do
+	source=(${source[@]} http://ftp.vim.org/pub/vim/unstable/runtime/spell/hu.$i.spl)
+done
+
+###
+# == PROVIDED FUNCTIONS
+# * build()
+###
+build()
+{
+	mkdir $pkgname-$pkgver
+	mv * $pkgname-$pkgver
+	Fcd
+	Ffilerel *.spl /usr/share/vim/spell/
+}
addfile ./source/locale-extra/vim-spell-hu/FrugalBuild
hunk ./source/locale-extra/vim-spell-hu/FrugalBuild 1
+# Compiling Time: 0.1 SBU
+# Maintainer: VMiklos <vmiklos at frugalware.org>
+
+_F_vim_lang=hu
+pkgver=20060413
+_F_vim_desc=Hungarian
+_F_vim_encodings=('cp1250' 'iso-8859-2' 'utf-8')
+Finclude vim-spell
+sha1sums=('fe2883de0db923ea3855e355a551040a5e843e3a' \
+          'bf0f3da6bd59648609a46051aecd447b1be3b899' \
+          'fef6ea859b76ece39be1d40d5f182878806aaa72' \
+          '46cd6fa519c60e7c70d1f58ebf4c9d5eaf39de09')
}


More information about the Frugalware-darcs mailing list