mkpkg_xbmc-dharma-final: use version from latest commit, some fixes

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-17 21:19:09 +01:00
parent eb70253cbe
commit 844cbe1b33

View File

@ -5,16 +5,14 @@ REV="10.0-Dharma"
echo "getting sources..."
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/tags/$REV xbmc-$REV
# echo "getting version..."
# cd xbmc-dharma-latest
# SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
# echo $SVN_REV
# cd ..
echo "getting version..."
cd xbmc-$REV
SVN_REV=`LANG=C svn info 2>/dev/null | grep Rev: | sed -e 's/.*\: //'`
echo $SVN_REV
cd ..
# echo "copying sources..."
# rm -rf xbmc-10.0-Dharma
# cp -R xbmc-dharma-latest xbmc-dharma-$SVN_REV
# echo "$SVN_REV" > xbmc-dharma-$SVN_REV/svn.version
echo "copying sources..."
echo "$SVN_REV" > xbmc-$REV/svn.version
echo "cleaning sources..."
find xbmc-$REV -name .svn -exec rm -rf {} ";"
@ -46,6 +44,6 @@ echo "packing sources..."
tar cvjf xbmc-$REV.tar.bz2 xbmc-$REV
tar cvjf xbmc-theme-Confluence-$REV.tar.bz2 xbmc-theme-Confluence-$REV
echo "remove temporary sourcedir..."
rm -rf xbmc-$REV
rm -rf xbmc-theme-Confluence-$REV
# echo "remove temporary sourcedir..."
# rm -rf xbmc-$REV
# rm -rf xbmc-theme-Confluence-$REV