[Slackbuilds-users] Jmol 12.0.39 SB script

Ivan Pavicevic ivanp84 at gmail.com
Tue Apr 5 20:20:15 UTC 2011


Thanks Audrius! I appreciate suggestions, and I'll try to make better
script. Jmol is my first SB script which I shared with the SB community. :)

2011/4/5 Audrius Kažukauskas <audrius at neutrino.lt>

> On Sun, 2011-04-03 at 12:33:45 +0200, Ivan Pavicevic wrote:
> > This script makes tgz package from Jmol's java binary. The script makes
> jmol
> > branch in /opt and then makes symbolic link to /usr/bin. Also, I made
> > jmol.desktop, and added jmol.png as icon, so after installation Jmol
> appears
> > in Applications/Education section (I'm using Xfce).
> > It works, but if you find anything wrong in the script, please let me
> know.
>
> I had a quick peek into your script and it doesn't look like it was
> based on any of SBo templates[0].  I suggest to follow them as closely
> as possible.  To handle different program and source file names, you
> could use SRC_NAME (or something similar) for the latter one.  The
> former should be PRGNAM as written in templates.
>
> [0] http://slackbuilds.org/templates/
>
> Documentation in Slackware should be placed in /usr/doc, not
> /usr/share/doc.  Icon file should be placed in /usr/share/pixmaps, that
> way you won't have to provide a full path for it in .desktop file.
>
> And there are some issues with .desktop file:
>
>  $ desktop-file-validate jmol.desktop
>  jmol.desktop: warning: key "Encoding" in group "Desktop Entry" is
> deprecated
>  jmol.desktop: error: value "Application;Education" for string list key
>  "Categories" in group "Desktop Entry" does not have a semicolon (';')
>  as trailing character
>
> I haven't tried to run it, but overall it looks okay, just needs to be
> written more closely to SBo guidelines.
>
> --
> Audrius Kažukauskas
>
> _______________________________________________
> 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/
>
>
>


-- 
If you don't care where you are, then you ain't lost
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110405/ba32376b/attachment.html>


More information about the SlackBuilds-users mailing list