system/android-file-transfer: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Isaac Yu 2019-04-25 23:42:13 +07:00 committed by Willy Sudiarto Raharjo
parent 027f6da271
commit 57d4fd2a23
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 9 additions and 9 deletions

View file

@ -1,8 +1,8 @@
Android File Transfer for Linux - reliable MTP client with Android File Transfer for Linux - reliable MTP client with
minimalistic UI similar to Android File Transfer for Mac. minimalistic UI similar to Android File Transfer for Mac.
Android File Transfer is by default built with qt5 ui. However, Android File Transfer by default builds qt4 ui (or qt5,
the client may be built without ui. In this case, run the script if installed). However, in building only the client,
with the following command: without ui, run the script with the following command:
QT_GUI=no ./android-file-transfer.SlackBuild QT_GUI=no ./android-file-transfer.SlackBuild

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Slackware build script for Isaac Yu # Slackware build script for android-file-transfer
#
# Copyright 2019 Isaac Yu <isaacyu1@isaacyu1.com> # Copyright 2019 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved. # All rights reserved.
# #
@ -24,7 +24,7 @@
PRGNAM=android-file-transfer PRGNAM=android-file-transfer
VERSION=${VERSION:-3.7} VERSION=${VERSION:-3.7}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -70,9 +70,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ ${QT_GUI:-yes} = no ]; then if [ ${QT_GUI:-yes} = no ]; then
GUI="no" GUI="OFF"
else else
GUI="yes" GUI="ON"
fi fi
mkdir -p build mkdir -p build

View file

@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/whoozle/android-file-transfer-linux/archive/v3.7/an
MD5SUM="a012747ef35a07bf5a510262e36666e1" MD5SUM="a012747ef35a07bf5a510262e36666e1"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="qt5" REQUIRES=""
MAINTAINER="Isaac Yu" MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com" EMAIL="isaacyu1@isaacyu1.com"