Where have you been my whole life?

For the six months or so I’ve been tapping away with Crux Linux, smushing together my own Pkgfiles from Arch versions, I wished there was an easier way to do it.

Lucky me, Colin Zheng came up with a script that does most of the preliminary conversion automatically, and submitted it to the Crux mailing list yesterday.

Download, save, make executable if need be. Import all the relevant Arch materials from the package repositories and run the script. You should end up with a clean Pkgfile that is a fairly close translation to the original PKGBUILD, just in Crux-speak.

It will still need a little fine-tuning, and I don’t think I would just build anything arbitrarily from a new Pkgfile without double-checking all the touchy points. I’ve tested one or two of the packages I use frequently that aren’t in the Crux repos, and the results are usually close to my own Frankenstein creations … if not better.

And both pkgmk and pkgadd seem happy, which makes me happy. :D

Thanks to Colin for making things just a little bit easier.

About these ads

6 thoughts on “Where have you been my whole life?

  1. Pingback: A Crux port for axel « Motho ke motho ka botho

  2. Pingback: A Crux port for Zim « Motho ke motho ka botho

  3. Pingback: Crux ports for terminal games « Motho ke motho ka botho

  4. Pingback: Using dmenu with xft fonts « Motho ke motho ka botho

  5. Pingback: An assortment of Crux ports « Motho ke motho ka botho

  6. Pingback: A few more Crux ports « Motho ke motho ka botho

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s