mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/MEGAsync: Updated for version 3.1.4.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
a0bd6ce85c
commit
b994a9b33e
3 changed files with 18 additions and 8 deletions
|
@ -24,8 +24,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=MEGAsync
|
||||
VERSION=${VERSION:-3.0.1.0}
|
||||
SDK=${SDK:-3.0.0}
|
||||
VERSION=${VERSION:-3.1.4.0}
|
||||
SDK=${SDK:-3.1.4}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -98,7 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--enable-gcc-hardening
|
||||
|
||||
cd ../../
|
||||
qmake CONFIG+="release" MEGA.pro
|
||||
qmake CONFIG+="release" QMAKE_CXXFLAGS="$SLKCFLAGS" MEGA.pro
|
||||
lrelease MEGASync/MEGASync.pro
|
||||
make
|
||||
install -m 755 -p -D $TMP/$PRGNAM-$VERSION\_Linux/src/MEGASync/megasync $PKG/usr/bin/megasync
|
||||
|
@ -119,6 +119,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="MEGAsync"
|
||||
VERSION="3.0.1.0"
|
||||
VERSION="3.1.4.0"
|
||||
HOMEPAGE="https://github.com/meganz/MEGAsync/"
|
||||
DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v3.0.1.0_Linux/MEGAsync-3.0.1.0_Linux.tar.gz \
|
||||
https://github.com/meganz/sdk/archive/v3.0.0/sdk-3.0.0.tar.gz"
|
||||
MD5SUM="cbf3a4df17ee7d8ddc354a6854b5a966 \
|
||||
0765cc618b80d5f7982cb8252150d863"
|
||||
DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v3.1.4.0_Linux/MEGAsync-3.1.4.0_Linux.tar.gz \
|
||||
https://github.com/meganz/sdk/archive/v3.1.4/sdk-3.1.4.tar.gz"
|
||||
MD5SUM="40993325c066fac50d5e925d935770e9 \
|
||||
e33e7c6776493d01df679c4c1770486c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libuv libsodium cryptopp FreeImage c-ares"
|
||||
|
|
9
network/MEGAsync/doinst.sh
Normal file
9
network/MEGAsync/doinst.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
Loading…
Reference in a new issue