From fa22a06bad529fccd4083f9a355902e4e5cb09c9 Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Sun, 1 Apr 2018 01:06:37 +0200 Subject: Set up update.sh for vcs packages Therefore, use $vcs_langs instead of $langs, due to fra-deu and deu-fra missing in the vcs tree. Furthermore, in - svn/sample.PKGBUILD, `- change the default pkgrel to 2, since any update is forced, i.e. there is no version change asking for update; - update.sh, `- add a usage note, `- require a specific type (e.g. src) to be supplied, `- remove the need to specify $ext for -u, `- set up a handle_all_vcs() function specifically for VCS sources, i.e. svn, `- move the download of freedict-database.json to handle_all(). --- svn/sample.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svn/sample.PKGBUILD') diff --git a/svn/sample.PKGBUILD b/svn/sample.PKGBUILD index 8f1f690..aa502b4 100644 --- a/svn/sample.PKGBUILD +++ b/svn/sample.PKGBUILD @@ -5,7 +5,7 @@ _pkgname=dict-freedict-${_lang} pkgname=${_pkgname}-svn pkgver=%VER% _pkgver=${pkgver//_/-} -pkgrel=1 +pkgrel=2 pkgdesc="%LANG_A% -> %LANG_B% dictionary for dictd et al. from Freedict.org" arch=('any') url="http://www.freedict.org/" -- cgit v1.2.3