mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
tools/mkpkg: add script to get and pack crystalhd sources
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f31f9faa58
commit
382f29f09c
23
tools/mkpkg/mkpkg_crystalhd
Executable file
23
tools/mkpkg/mkpkg_crystalhd
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "getting sources..."
|
||||
svn checkout http://crystalhd-for-osx.googlecode.com/svn/trunk/crystalhd crystalhd-latest
|
||||
|
||||
echo "getting version..."
|
||||
cd crystalhd-latest
|
||||
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
|
||||
echo $SVN_REV
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf crystalhd-$SVN_REV
|
||||
cp -R crystalhd-latest crystalhd-$SVN_REV
|
||||
|
||||
echo "cleaning sources..."
|
||||
find crystalhd-$SVN_REV -name .svn -exec rm -rf {} ";"
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvjf crystalhd-$SVN_REV.tar.bz2 crystalhd-$SVN_REV
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf crystalhd-$SVN_REV
|
Loading…
x
Reference in New Issue
Block a user