[Slackbuilds-users] Packages name rulers

Doogster thedoogster at gmail.com
Sat Jul 26 17:28:12 UTC 2014


The rules for package names are simple. They follow the following format:

[PACKAGE_NAME]-[VERSION]-ARCH-TAG

Where the delimiters are the last three hyphens.

This is what PKGTool expects, and it's consistent with Pat's package names.

If your regex can't handle that, then it's the regex that needs to change.

On Sat, Jul 26, 2014 at 10:19 AM, Rudson R Alves
<rudsonalves at yahoo.com.br> wrote:
> Hi people,
>
> Exist a clear ruler to build a package name?
>
> I was set a package name in may programs by a regular expression:
>
> r'^([^\-].*)\-([^\-]*)\-(x86_64|x86|i[3456]86|noarch|fw)\-([0-9][^\-]*)\.(t[gblx]z)$')
>
> and
>
> r'^([^\-].*)\-([^\-]*)\-(x86_64|x86|i[3456]86|noarch|fw)\-([0-9][^\.\-]*)\-upgraded\-.*$')
>
> for upgrade error packages.
>
> I based it in the official packages distributed by SlackwareDVD. However I
> have found some variants in SlackBuild.org, like ffmpeg thatuse '-custon'
> along the architecture.
>
> Is possible to define a ruler to packages names?
>
> If exist, is important to put them in any SlackBuild.org document toavoid
> variations.
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>


More information about the SlackBuilds-users mailing list