diff options
author | Einhard Leichtfuß <alguien@respiranto.de> | 2018-04-01 01:06:37 +0200 |
---|---|---|
committer | Einhard Leichtfuß <alguien@respiranto.de> | 2018-04-01 01:06:37 +0200 |
commit | fa22a06bad529fccd4083f9a355902e4e5cb09c9 (patch) | |
tree | 991298cb764b89eaae4c37e159d9a36005e46cb4 /svn | |
parent | 82c373e3e69d4cf028dbad4896129991c8e963c4 (diff) |
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().
Diffstat (limited to 'svn')
-rw-r--r-- | svn/sample.PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
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/" |