Alien:...ge::Tgz(3pm)

πŸ’– Alien::...ge::Tgz(3pm) β€” bestie edition πŸ’–

User Contributed Perl Documentation (yes the title's literally got an ellipsis in it, that's just how the file's named, don't @ me, it's giving "my wifi name is Alien:...ge::Tgz" energy)


✨ NAME ✨

Alien::Package::Tgz β€” an object that represents a tgz package πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so. This is an object class that represents a tgz package, the kind they use over in Slackware. 🌸

It also lets you convert raw tar files, which is lowkey the fun part. πŸ‘‘

And for the family tree: it is derived from Alien::Package. So yes, it's got the whole inheritance situation going on. ✨


πŸŽ€ CLASS DATA πŸŽ€

  • scripttrans β€” a translation table between canoical script names and the names used in tgz's. (that typo is in the original, I'm not fixing it, it's canon now, iykyk πŸ’…)

πŸ’… METHODS πŸ’…

  • checkfile β€” detects tgz files by their extension. πŸ•΅οΈβ€β™€οΈ She's just looking at the file name, bestie.
  • install β€” installs a tgz with installpkg. You pass in the filename of the tgz you want installed.
Not me just untarring a tgz file, no no. installpkg (a Slackware program) is used here because the author is not sanguine about simply untarring a tgz file β€” because, and I quote the vibe: it might trash a system. πŸ˜­πŸ’€ So yeah, installpkg does the work, respectfully.
  • scan β€” scans a tgz file for fields. 🧐 It has to scan the filename for most of the information, because there is little useful metadata in the file itself. The tgz said "i contain no lore" and honestly? It's right.
  • unpack β€” unpacks a tgz. πŸ“¦βœ¨
  • prep β€” adds a populated install directory to the build tree. 🌱
  • build β€” builds a tgz. πŸ”¨πŸ‘‘

🌈 AUTHOR 🌈

Joey Hess <joey@kitenet.net> 🫢


sign-off time, besties πŸ’– This page is from perl v5.40.1, dated 2025-10-08, and it's filed under the very iconic name Alien:...ge::Tgz(3pm). Slay, go build something, periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from