fossil: fix distfiles url

Tarballs are generated on demand as described at
https://fossil-scm.org/home/help?cmd=/tarball.
The URL in our template has the form
https://fossil-scm.org/home/tarball/<release>/<name>.tar.gz,
where <release> is the commit hash or tag name (defaults to
"trunk" if omitted) and <name> is used as the top-level
directory inside the tarball.
This commit is contained in:
Roberto Ricci 2021-06-22 11:49:17 +02:00 committed by Đoàn Trần Công Danh
parent fd52c086c7
commit bea466c0b6

View file

@ -11,9 +11,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.fossil-scm.org"
changelog="https://www.fossil-scm.org/home/doc/trunk/www/changes.wiki"
distfiles="https://www.fossil-scm.org/home/tarball/fossil-${version}.tar.gz"
checksum=1844918eacdfa625e1d7efbec688875a6f89eb6c639edc12f158c46ba585494a
broken="checksum changed after 4 hours https://github.com/void-linux/void-packages/pull/31609"
distfiles="https://fossil-scm.org/home/tarball/version-${version}/fossil-${version}.tar.gz"
checksum=39f5a3960ebaa4984fcc953c3307ead5c0f21da4f66ecad516872f89843fcf79
post_extract() {
vsed -i 's/test_system_sqlite$/# &/' auto.def # failing on cross