[Slackbuilds-users] A script for automated downloads, builds and installs of Slackbuilds

Antoine NONYME mickeytintincolle at yahoo.fr
Thu May 8 13:56:53 UTC 2008


Hello Slackbuilds users :
I have made a script that downloads, builds and installs automagically 
SlackBuilds .
It would be nice that the script would be downloadable on the slackbuild 
site/included on extra/ slackware repositories .
To use the script, just type as root:) :
# slackmerge <category> <package>
For example :
# slackmerge desktop icewm
Here is the script content :
--BOF--
#!/bin/sh
SLACKVER="12.1"
SB_REPO="http://www.slackbuilds.org/slackbuilds/12.1/"
# Usage : slackmerge <category> <package>
# For example : slackmerge desktop icewm
mkdir /tmp/SmGE
cd /tmp/SmGE
wget -c $SB_REPO$1/$2.tar.gz
tar xvf $2.tar.gz
cd $2
cp $2.info download
echo "\
wget -c \$DOWNLOAD" >> download
sh download
sh $2.SlackBuild
installpkg /tmp/*$2*.tgz
--EOF--
The script is also attached to the e-mail .
Enjoy using the script !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slackmerge
Type: application/x-shellscript
Size: 361 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20080508/4af03e7e/attachment.bin>


More information about the Slackbuilds-users mailing list