aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-29Simplify $pkgver handlingHEADmasterEinhard Leichtfuß
Always set $_pkgver. - And set it first. (Derive $pkgver off it.) - Usually same as $pkgver.
2022-04-29Fix svn PKGBUILD: Add missing slashEinhard Leichtfuß
2022-04-29Fix svn PKGBUILD: move sources to $_langEinhard Leichtfuß
This required allowing a fixed prepare() function and, for the optional, dictionary-specific prepare() part to be inserted into such a fixed prepare() function.
2022-04-29svn: Fix src directory pathEinhard Leichtfuß
2022-04-29sample.install: consistent quotingEinhard Leichtfuß
2022-04-29Consistent quoting (again)Einhard Leichtfuß
2022-04-29Use `read' to read multi-line stringEinhard Leichtfuß
(instead of `var=$(cat)')
2022-04-29.gitignore: Ignore user-config.bashEinhard Leichtfuß
2022-04-29bin: Versioned provides=Einhard Leichtfuß
2022-04-29svn: Properly name sourceEinhard Leichtfuß
2022-04-29Use proper .bash suffixEinhard Leichtfuß
2022-04-29Allow prepare() in svn PKGBUILDsEinhard Leichtfuß
2022-04-29Consistent quotingEinhard Leichtfuß
2022-04-29Change capitalization to "FreeDict"Einhard Leichtfuß
2020-06-26Remove dictd build dependencyEinhard Leichtfuß
freedict-tools now (correctly) depend on dictd. Also, * do not hide curl's errors.
2018-12-23Update READMEEinhard Leichtfuß
2018-12-23plit off user-config.shEinhard Leichtfuß
2018-12-23Improve TODO and add license info to config fileEinhard Leichtfuß
2018-12-23Make config.default.sh non-executableEinhard 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-23Use $lang instead of $pkgname for dirnamesEinhard Leichtfuß
2018-12-23Use the provided sample.* filesEinhard Leichtfuß
Do not longer rely on them being symlinked to the target directories. Also, fix small error in make_install.sh:main() ($1 -> $2). And add some comments.
2018-12-23TODOEinhard Leichtfuß
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-23Add short READMEEinhard Leichtfuß
2018-12-23Polish TODOEinhard 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-12-23Improve correction of badly formed numbersEinhard Leichtfuß
e.g. 1060 -> 10^60 if suggested by context
2018-11-29Add Copyright noticesEinhard Leichtfuß
2018-11-29https link in PKGBUILDsEinhard Leichtfuß
2018-05-14Use the API to get the checksumEinhard Leichtfuß
Since getting the checksum now does no longer take a considerable amount of time, put it in the ordinary handle_all() function. Also, remove repetitive clutter in the lines getting the information from the json file.
2018-05-13Get checksum from specific fileEinhard Leichtfuß
Before, the source file was downloaded and the checksum calculated from it. Additionally, the code's documentation was marginally improved and a --nopull option added.
2018-04-24Update URLsEinhard Leichtfuß
2018-04-17Update json URL to httpsEinhard Leichtfuß
2018-04-01Add TODOEinhard Leichtfuß
2018-04-01Fix buildpath in svn/sample.PKGBUILDEinhard 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 %VER% to svn/sample.PKGBUILDEinhard Leichtfuß
2018-03-31Add sample PKGBUILD for svn packages.Einhard Leichtfuß
2018-03-31Install docs for the binary version as wellEinhard Leichtfuß
2018-03-31In src/sample.PKGBUILD, use install(1)Einhard Leichtfuß
The primary reason is to prevent the creation of /usr/share/doc/freedict/${_lang}/" in case there is no file to be copied there.
2018-03-31Add sample PKGBUILD for binary packages.Einhard Leichtfuß
2018-03-31Prevent package() from failing in sample.PKGBUILDEinhard Leichtfuß
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-30Do not `cd' to earlyEinhard Leichtfuß
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.
2018-03-30Modularise and generaliseEinhard Leichtfuß
Modularisation: - Use new functions replace(), replace_line() and delete_line() instead of sed directly. This required all editing to be done in-line or pseudo in-line, i.e. moving files afterwards. Generalisation: - Make it work for both the non-vcs source and the binary packages, not only the former. A separate function handle_all() has been set up to handle both types. Further: - Require a directory to be supplied as argument due to a variable number of further arguments. - Use a temporary directory instead of several files. - Add option -uaf to forcibly update everything.
2018-03-29Upload tools for the source (non-vcs) versionsEinhard Leichtfuß