diff options
author | Felipe Bugno <capent@yahoo.com> | 2017-07-14 01:05:07 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-15 07:33:40 +0700 |
commit | b994a9b33e3da1188cfc426cd2d735741b4edf3d (patch) | |
tree | 4379e3800a57c8fa819261e04188363023b1ce00 /network | |
parent | a0bd6ce85cac193289246582fcdccd3a166223c6 (diff) | |
download | slackbuilds-b994a9b33e3da1188cfc426cd2d735741b4edf3d.tar.gz |
network/MEGAsync: Updated for version 3.1.4.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/MEGAsync/MEGAsync.SlackBuild | 7 | ||||
-rw-r--r-- | network/MEGAsync/MEGAsync.info | 10 | ||||
-rw-r--r-- | network/MEGAsync/doinst.sh | 9 |
3 files changed, 18 insertions, 8 deletions
diff --git a/network/MEGAsync/MEGAsync.SlackBuild b/network/MEGAsync/MEGAsync.SlackBuild index 062d684365..f685a4eb45 100644 --- a/network/MEGAsync/MEGAsync.SlackBuild +++ b/network/MEGAsync/MEGAsync.SlackBuild @@ -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} diff --git a/network/MEGAsync/MEGAsync.info b/network/MEGAsync/MEGAsync.info index 6ea5f27624..4cc9c0c359 100644 --- a/network/MEGAsync/MEGAsync.info +++ b/network/MEGAsync/MEGAsync.info @@ -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" diff --git a/network/MEGAsync/doinst.sh b/network/MEGAsync/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/network/MEGAsync/doinst.sh @@ -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 |