[Slackbuilds-users] mplayer-codecs-all "typo"

Nenad Spirkoski spiki at verat.net
Tue Aug 14 23:57:16 UTC 2007


On Tuesday 14 August 2007 23.27:23 Robby Workman wrote:
> Nenad Spirkoski wrote:
> > while installing mplayer-codecs-all-20061022-i486-1_SBo.tgz i noticed
> > mplayer-codecs-all: Codecs for MPlayer (ALL - win32, quicktime, etc)
> > mplayer-codecs-all:
> > mplayer-codecs-all: This is a repackaging of the all-$DATE.tar.bz2
> >
> > in .SlackBuild there's
> > cat $CWD/slack-desc > $PKG/install/slack-desc
> >
> > slack-desc reveals
> > mplayer-codecs-all: This is a repackaging of the all-$DATE.tar.bz2
> >
> > Solution:
> > sed "s/all-\$DATE.tar.bz2/all-20061022.tar.bz2/" -i slack-desc
>
> Sorry for the delay on responding; I've been rather busy,

np. Yeah, making babies :) Congratulations

> I'd prefer to leave it that way; otherwise, I'll likely
> forget to update the DATE string with future upgrades to
> the script.  It should be self-explanatory for users of
> the package (I hope) :-)
>
> RW

Well, what about this suggestion, in which you wouldn't have to edit 
slack-desc because it will be "generated"?

diff mplayer-codecs-all.SlackBuild~ mplayer-codecs-all.SlackBuild
52c52
< cat $CWD/slack-desc > $PKG/install/slack-desc
---
> cat $CWD/slack-desc | sed "s/all-\$DATE.tar.bz2/all-$VERSION.tar.bz2/" > 
$PKG/install/slack-desc

-- 
http://www.spiki.be

'Ooohh.. "FreeBSD is faster over loopback, when compared to Linux
over the wire". Film at 11.'
	-- Linus Torvalds



More information about the Slackbuilds-users mailing list