[Slackbuilds-users] My echinus and vifm slackbuilds are ready.

Audrius Kažukauskas audrius at neutrino.lt
Tue Feb 7 11:24:14 UTC 2012


On Mon, 2012-02-06 at 11:35:53 -0600, Charles Kauffman wrote:
> 2.
> In the echinus.SlackBuild
> sed -i "s;-Os;$SLKCFLAGS ;g" config.mk
> sed -i "s;.pixmap: ;.pixmap: \/usr\/share\/echinus\/_g" echinusrc
> sed -i "s/DOCPREFIX}\/echinus/DOCPREFIX}\/echinus-$VERSION/g" Makefile
> 
> The source only contains Makefile and config.mk, no configure script.  So I
> replaced the compiler flag -Os with SLKCFLAGS, as well as had the script
> create a doc directory that had the version number appended to it.
> The second sed makes modifications to the rc file since problems can occur
> when the program loads.
> 
> So, does that look good, or should I just leave some of that alone?

Looks good to me.  As long as the changes don't break anything, I'd say
go for it.  Just not sure if global (g) substitute is needed (it looks
for multiple regex matches in a single line).  Also there should be a
semicolon at the end of second sed-line, no (and no need to escape
slashes)?

-- 
Audrius Kažukauskas
http://neutrino.lt/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20120207/05d145ab/attachment.asc>


More information about the SlackBuilds-users mailing list