[Slackbuilds-users] Easy typo

Yiannis rizitis at gmail.com
Wed Aug 12 10:10:17 UTC 2026


There are few scripts that use PRGNAM+PGKNAM in SBo and from what I saw in
3 I am the creator. In my case this happens because SRCNAM has also taken a
value :D
example:
PRGNAM="abdownloadmanager-bin"
VERSION=${VERSION:-1.8.7}
SRCNAM=ABDownloadManager_"$VERSION"_linux_x64
PKGNAM=ABDownloadManager

After all, we have to put something in these cases too and
PRGNAM+SRCNAM+PKGNAM was convenient!

BUT What I really want to inform you is this:
recently I uploaded the slakfinder-app to SBo and I had this issue with the
.desktop
https://forge.slackware.nl/rizitis/slakfinder-app/src/branch/main/SBo.txt
And since it doesn't throw an error but a hint, I left it as is.
But I would like you to know this as information for sbopkglint and your
opinion in general is of course welcome.

Στις Τετ 12 Αυγ 2026 στις 12:37 μ.μ., ο/η B. Watson <urchlay at slackware.uk>
έγραψε:

>
>
> On Wed, 12 Aug 2026, Willy Sudiarto Raharjo wrote:
>
> > yes, that's usually common name used when the program name and source
> > is different
>
> That's a terrible idea!
>
> I use SRCNAM for the source... it's the name of the source. PKGNAM
> would be "name of the package", but we're already using PRGNAM to
> mean the name of the Slackware package we're building. So it's kinda
> ambiguous.
>
> PRGNAM and PKGNAM look too similar IMO. I didn't think anyone would
> choose to deliberately use both, but apparently I'm wrong.
>
> However, a thought: if PKGNAM is never assigned to, *then* it's a typo
> if it's referenced... most likely if you never assigned anything to
> PKGNAM, then it's a typo for PRGNAM (same as PRGMAN would be).
>
> I haven't added any code to sbolint to do anything about this.
> Just kicking ideas around.
>
> I think we can all agree that SLCKFLAGS is always a typo though. Or
> PRGMAN. Or PGK. I made that typo myself last week, I wrote:
>
> gzip -9 $PGK/usr/man/man*/*
>
> Oh, what fun... fortunately gzip won't re-gzip a file that's already
> gzipped, so no real harm done, just a minor freak-out as a ton of
> "gzip: blah.gz already has .gz suffix" warnings spewed out.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260812/5b1f1b20/attachment-0001.htm>


More information about the SlackBuilds-users mailing list