Hello Slack Builders,<br><br>I found myself typing long command sequences every time I needed to download a source package, or check md5 of a package, so decided to define the following aliases:<br><br>alias sb_dl='wget `grep ^D *.info | cut -d= -f2`'
<br>alias sb_chk='[ `grep ^M *.info | cut -d= -f2` = `md5sum *.tar.* | cut -c -32` ]; echo $?'<br><br>In the second alias, I'm concerned with the "*.tar.*" part, which will fail in case other patches or third party packages were included in the SlackBuild like here:
<br><br><a href="http://www.slackbuilds.org/repository/multimedia/MPlayer/">http://www.slackbuilds.org/repository/multimedia/MPlayer/</a><br><br>One solution could be to use a name of the current pwd or use a value of PRGNAM variable defined in *.info.
<br><br>Any suggestions will be greatly appreciated!<br><br><br><br>Best Regards,<br>Alex<br>