www.duckland.org/posts/201409perl-modules-and-package-management.html
2015-06-09 22:50:31 -05:00

7 lines
No EOL
1.5 KiB
HTML

<html><body><p>So, even though I have been starting to <a href="http://www.duckland.org/2014/06/back-to-freebsd-maybe-back-to-the-challenge">work with</a> <a href="http://www.duckland.org/2014/07/freebsd-switch">FreeBSD</a> <a href="http://www.duckland.org/2014/08/one-step-closer">again</a>, I am still running <a href="http://www.archlinux.org/">ArchLinux</a> on my workstation.</p>
<p>And I wanted to run a script I wrote a long time ago to support a <a href="http://www.donaldharper.com/">website</a> of mine, which I have not updated in a while. The way I would update the site is by doing some batch editing of photos, park them in a directory, and then run my script which pushes the photos to the web server, and then interfaces with the CMS software to schedule the posts and all is good.</p>
<p>Except the script is in perl, and it uses some modules which are not main-stream. While perl has the awesome <strong>cpan(1perl)</strong> command to fetch and install perl modules, I wanted it to be tied into <strong>pacman(8)</strong> . A quick trip to the <a href="http://aur.archlinux.org/">AUR</a> turned up the tools <a href="https://aur.archlinux.org/packages/perl-cpanplus-dist-arch-git/">cpan2aur</a> and <a href="https://aur.archlinux.org/packages/pkgbuild-introspection-git/">mkaurball</a> which made it pretty easy to package up and post the the AUR the 9 perl modules I needed to get my script going and keep track of things with pacman.</p>
<p>Yeah!</p></body></html>