aboutsummaryrefslogtreecommitdiff
path: root/basic.sh
AgeCommit message (Collapse)Author
2018-12-23plit off user-config.shEinhard Leichtfuß
2018-12-23Split off config.sh and add maintainer variableEinhard Leichtfuß
Now, other people than myself might be maintainer. Also, add `| exit 1' to the sourcing of scripts. Furthermore, add note to the scripts in the sample.* files.
2018-12-23Allow for different licensesEinhard Leichtfuß
Therefore, separate types of dictionaries in the configuration sections. Reason: The dictionaries imported from wikdict are differently licensed.
2018-12-23Simplify and abstract from "$tmp"Einhard Leichtfuß
- Add input and write to basic.sh to no longer need to know "$tmp" in the calling scripts. Also, - make runnable from outside the directory containing the scripts, - simplify chained grep and sed commands.
2018-12-23Add license informationEinhard Leichtfuß
2018-12-23Simplify basic.sh:replace_line and switch to EREsEinhard Leichtfuß
EREs: extended regular expressions in contrast to basic regular expressions (BREs).
2018-11-29Add Copyright noticesEinhard Leichtfuß
2018-04-01Set up update.sh for vcs packagesEinhard Leichtfuß
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().
2018-03-31Add support for dict-freedict-* in make_installEinhard Leichtfuß
Furthermore: - Move $langs[] to basic.sh in order to be able to use it in make_install. - Add -f to rm in cleanup() in order to prevent unforeseen errors, that don't matter.
2018-03-30Split some functionality off update.shEinhard Leichtfuß
Such that it may be used by the to be bettered make_install.sh. In particular, the latter is supposed to work for both non-vcs source and binary packages. Also add a main() method to update.sh.