mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
ability to package stable version
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
2d1926ea3b
commit
0c1cf1789c
1 changed files with 3 additions and 2 deletions
|
@ -5,6 +5,7 @@ CWD=$(pwd)
|
|||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
STABLE=${STABLE:-"NO"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -26,8 +27,8 @@ mkdir -p $PKG
|
|||
|
||||
# mise en place
|
||||
cd $TMP
|
||||
if [ -e $CWD/$PRGNAM-$VERSION.tar.bz2 ]; then
|
||||
# wget -c https://download.owncloud.com/desktop/stable/$PRGNAM-$VERSION.tar.bz2
|
||||
if [ "x$STABLE" == "xYES" ]; then
|
||||
wget -c https://download.owncloud.com/desktop/stable/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
tar xf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
else
|
||||
if [ ! -e $REPOSITORY ]; then
|
||||
|
|
Loading…
Reference in a new issue