allow for building stable version
This commit is contained in:
parent
1e8dbb7d00
commit
830a708cda
1 changed files with 12 additions and 7 deletions
|
@ -26,16 +26,21 @@ mkdir -p $PKG
|
|||
|
||||
# mise en place
|
||||
cd $TMP
|
||||
if [ ! -e $REPOSITORY ]; then
|
||||
git clone https://github.com/owncloud/mirall.git $REPOSITORY
|
||||
if [ -e $CWD/$PRGNAM-$VERSION.tar.bz2 ]; then
|
||||
# wget -c https://download.owncloud.com/desktop/stable/$PRGNAM-$VERSION.tar.bz2
|
||||
tar xf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
else
|
||||
( cd $REPOSITORY
|
||||
git pull
|
||||
)
|
||||
if [ ! -e $REPOSITORY ]; then
|
||||
git clone https://github.com/owncloud/mirall.git $REPOSITORY
|
||||
else
|
||||
( cd $REPOSITORY
|
||||
git pull
|
||||
)
|
||||
fi
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
fi
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
|
||||
# configuration
|
||||
cmake \
|
||||
|
|
Loading…
Add table
Reference in a new issue