diff --git a/srcpkgs/pencil2d/template b/srcpkgs/pencil2d/template index 82c358e2736..2d0dc5ed7dd 100644 --- a/srcpkgs/pencil2d/template +++ b/srcpkgs/pencil2d/template @@ -11,5 +11,13 @@ maintainer="ghost " license="GPL-2.0-only" homepage="https://pencil2d.org/" changelog="https://raw.githubusercontent.com/pencil2d/pencil/master/ChangeLog.md" -distfiles="https://github.com/${pkgname}/pencil/archive/v${version}.tar.gz" -checksum=9dd1f7dd35a86dea33ec4415ac92e7df146309a1f52139c908cbd8b4767e53ff +distfiles="https://github.com/${pkgname}/pencil/archive/v${version}.tar.gz + https://github.com/catchorg/Catch2/releases/download/v2.13.10/catch.hpp" +checksum="9dd1f7dd35a86dea33ec4415ac92e7df146309a1f52139c908cbd8b4767e53ff + 3725c0f0a75f376a5005dde31ead0feb8f7da7507644c201b814443de8355170" +skip_extraction="catch.hpp" + +post_extract() { + local _srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}" + cp ${_srcdir}/catch.hpp tests/src/catch.hpp +}