You are not logged in.

#1 2010-10-30 19:49:25

atordo
Member
Registered: 2007-04-21
Posts: 147

Suggestion naming a package

I've done a PKGBUILD for the following program: http://unicorn.us.com/cal.html
Which is basically the traditional Unix cal command with colors and reminders. I'd like to submit it to AUR, problem is that authors have named it just "cal", which conflicts with the traditional command included in util-linux-ng.

Note that there's not conflict whatsoever as long as you give the binary a different name. I've named mine "cal-unicorn" and both work just fine. Same goes for the man pages.

So question is, is there a recommended way to name packages whose name match with another one? What name do you suggest, or do I just forget about submitting it to AUR?

Offline

#2 2010-10-30 20:51:00

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Suggestion naming a package

I think it was pretty lame that the authors named it the same as the standard command. hmm

I don't think "cal-unicorn" is such a bad name. Other options of course are "cal-advanced" and "cal-colors". I think the best name would be one that lets people know it has appointment capabilities. Maybe "cal-appt" would get the job done.

Whatever name you choose, I would recommend installing it with that special name. (for example, "/usr/bin/cal-unicorn")

Offline

#3 2010-10-31 15:34:41

atordo
Member
Registered: 2007-04-21
Posts: 147

Re: Suggestion naming a package

drcouzelis wrote:

I think it was pretty lame that the authors named it the same as the standard command. hmm

Indeed. I've finally uploaded it as "cal-unicorn": http://aur.archlinux.org/packages.php?ID=42450

If someone wants to give it another name she just have to change the value of $pkgname in the PKGBUILD. It doesn't conflict with other commands (as long as you give it an unused name).

Last edited by atordo (2010-10-31 15:40:50)

Offline

Board footer

Powered by FluxBB