summaryrefslogtreecommitdiff
path: root/network/anydesk/anydesk.SlackBuild
diff options
context:
space:
mode:
authorReza Talebi <reza.talebi.73@outlook.com>2021-04-10 03:59:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:43 +0700
commit58616c52fbccab8e70c89cb4c9363029729023a8 (patch)
treed262051819b2f051b4a0156258b10c465367c93c /network/anydesk/anydesk.SlackBuild
parentf0c6364a757e76bedc1fb759a7a09a23894c3d07 (diff)
downloadslackbuilds-58616c52fbccab8e70c89cb4c9363029729023a8.tar.gz
network/anydesk: Updated for version 6.1.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/anydesk/anydesk.SlackBuild')
-rw-r--r--network/anydesk/anydesk.SlackBuild24
1 files changed, 8 insertions, 16 deletions
diff --git a/network/anydesk/anydesk.SlackBuild b/network/anydesk/anydesk.SlackBuild
index aac6be4bfd..dff8b6f1b5 100644
--- a/network/anydesk/anydesk.SlackBuild
+++ b/network/anydesk/anydesk.SlackBuild
@@ -23,16 +23,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=anydesk
-VERSION=${VERSION:-6.0.1}
+VERSION=${VERSION:-6.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "Package for $ARCH architecture is not available."
+ exit 1
fi
CWD=$(pwd)
@@ -42,15 +43,6 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -71,7 +63,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/rc.d/
-cp $CWD/rc.anydesk $PKG/etc/rc.d/rc.anydesk
+cat $CWD/rc.anydesk > $PKG/etc/rc.d/rc.anydesk.new
cd $PKG
/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}