dune: use release tarball to properly embed version information.

This commit is contained in:
Leah Neukirchen 2023-05-12 21:54:47 +02:00
parent 022ea1ab63
commit 7dba6d81ee

View file

@ -1,7 +1,7 @@
# Template file for 'dune' # Template file for 'dune'
pkgname=dune pkgname=dune
version=3.7.1 version=3.7.1
revision=1 revision=2
makedepends="ocaml" makedepends="ocaml"
depends="ocaml" depends="ocaml"
short_desc="Composable build system for OCaml" short_desc="Composable build system for OCaml"
@ -9,8 +9,8 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT" license="MIT"
homepage="https://dune.build/" homepage="https://dune.build/"
changelog="https://raw.githubusercontent.com/ocaml/dune/main/CHANGES.md" changelog="https://raw.githubusercontent.com/ocaml/dune/main/CHANGES.md"
distfiles="https://github.com/ocaml/dune/archive/refs/tags/${version}.tar.gz" distfiles="https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz"
checksum=9ddc1dae09e7be6d0bf22b7d1584d95a1b3d4f5d1bae1d4095dc4e1833fa86b2 checksum=adfc38f14c0188a2ad80d61451d011d27ab8839b717492d7ad42f7cb911c54c3
nocross="ocaml" nocross="ocaml"
_dune_release_pkgs="dune dune-build-info dune-configurator _dune_release_pkgs="dune dune-build-info dune-configurator