[aur-general] Help with a perl package needed

Philipp Überbacher hollunder at lavabit.com
Sat Sep 4 07:39:46 EDT 2010


Excerpts from Justin Davis's message of 2010-09-02 02:49:23 +0200:
> On Aug 26, 2010, at 9:43 AM, Philipp Überbacher wrote:
> 
> > I don't think anything uses nama as a module, so I rather stick with the
> > current name.
> 
> Okay it's no biggie. The 'provides' [bash] array in the PKGBUILD just gives aliases for package names. That way packages can essentially have more than one name. But again, it's no big deal as probably no one would use the alias.

Thanks, I do provides=('perl-audio-nama') for both nama and nama-git.
 
> > I did use it already, but I did so sloppily, just to get the job done.
> > perl-audio-ecasound: http://aur.archlinux.org/packages.php?ID=40136
> > 
> 
> I just reread this message and realized you were talking about another AUR package. Before I didn't understand and did not respond. It seems that "cpan2aur" found the non-perl "ecasound" dependency properly so you should not need to use a PKGBUILD template. I don't see anything sloppy about it. :)

The sloppy part was at least not putting any packager/maintainer info into it, but it wasn't me, cpan2aur did the job :P

> Now that you have used cpan2aur to generate the perl-audio-ecasound package I hope you can use "cpan2aur" to automatically --check for new releases from CPAN and update the AUR accordingly because that was my reason for creating cpan2aur. If you are comfortable with this you may try the same with the nama package as I mentioned earlier.

I just tried that:

~/build/mine/perl-audio-ecasound $ cpan2aur --check .
==> Checking if . is up to date...
  -> Looking up module for Audio-Ecasound on CPAN...
[MSG] No '/home/murks/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/home/murks/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/home/murks/.cpanplus/custom-sources' dir, skipping custom sources
==> Uploading package directory ....
==> Creating source package for /home/murks/build/mine/perl-audio-ecasound
    directory...
  -> Running 'makepkg --source --force --clean'...
==> Created ./perl-audio-ecasound-0.93-1.src.tar.gz source package...
==> Uploading ./perl-audio-ecasound-0.93-1.src.tar.gz to the AUR...
    Username: hollunder
    Password: 
  -> Sending package as hollunder...
    Success.

I'm not sure what it did there, whether it updated or not (it did upload something, so I guess it updated?

> Sorry for the late response.
> 
> Have fun,
> Justin

Don't worry, I'm late too ;)
Thanks for advice.
-- 
Philipp

--
"Wir stehen selbst enttäuscht und sehn betroffen / Den Vorhang zu
und alle Fragen offen." Bertolt Brecht, Der gute Mensch von Sezuan



More information about the aur-general mailing list