DH_RAKU_BUILD(1)

πŸ“¦
version 0.19 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– DH_RAKU_BUILD(1) πŸ’–

okay bestie, so this is dh_raku_build β€” and it lives in the User Contributed Perl Documentation section of the manual, section 1 if you're keeping score πŸŽ€. Pull up a chair, we're building Raku module packages and it's gonna be so cute.


✨ NAME ✨

dh_raku_build β€” automatically build Raku module packages πŸ¦‹


🌸 SYNOPSIS 🌸

dh_raku_build

that's it. that's the whole vibe. no flags, no arguments, just go girl πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

okay so here's what she does: this script calls install-dist.p6 to build a Raku module package. that's the whole job. she just... does it. iconic behavior honestly πŸ”₯

then β€” and this is the part you need to not miss, bestie β€” it injects rakudo dependencies information into the ${raku:Depends} variable. that's a substitution variable. it's giving substitution-variable realness.

in other words, your control file must have a line like:

Depends: ${raku:Depends}

like, actually must. no line, no deps, and then your package is out here in the world with no support system and that's not the move 😭


🏠 HOME directory 🏠

before building the package, the HOME directory gets set to debian/tmp/home. yes, really. she just moves in. main character energy fr fr 🧚

this directory is cleaned up after the build is done β€” so it's not permanent, it's more of a pop-up situation. she stays for the build, she leaves when the build's over. no notes. ✨


🫢 SEE ALSO 🫢

go read those if you wanna know how she fits into the whole debhelper family reunion πŸ‘‘


🩷 quick vibe check bestie: remember that Depends: ${raku:Depends} line in your control file, because without it the dependency magic literally cannot happen. that's the one rule. periodt.

okay and finally, the little sign-off at the bottom of the page: this one comes from perl v5.40.1, dated 2025-05-08 🌈. so yeah, that's the whole page β€” build your Raku packages, love your HOME directory, and stay slay πŸ’–πŸŒΈπŸ’…

πŸ“¦ where this page comes from