diff options
Diffstat (limited to 'desktop/simplenote/simplenote.SlackBuild')
-rw-r--r-- | desktop/simplenote/simplenote.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/simplenote/simplenote.SlackBuild b/desktop/simplenote/simplenote.SlackBuild index 58d2710d19..3948fe1d97 100644 --- a/desktop/simplenote/simplenote.SlackBuild +++ b/desktop/simplenote/simplenote.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for simplenote -# Copyright 2018-2019 Skaendo <skaendo@linuxmail.org> +# Copyright 2018, 2019, 2020 Skaendo <skaendo@linuxmail.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=simplenote SRCNAM=Simplenote -VERSION=${VERSION:-1.4.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,9 +42,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Set to abort if not building on x86_64 -if [ "$ARCH" = "x86_64" ]; then - SRCARCH=x86_64 # This does nothing. -else +if [ "$ARCH" != "x86_64" ]; then echo "$ARCH is not supported. Aborting." exit 1 fi @@ -67,7 +65,7 @@ find -L . \ # Install into /opt mkdir -p $PKG/opt/$PRGNAM cp -vr * $PKG/opt/$PRGNAM -cp -v $CWD/$PRGNAM.png $PKG/opt/$PRGNAM +cp -v $CWD/files/$PRGNAM.png $PKG/opt/$PRGNAM # Link the Binary mkdir -p $PKG/usr/bin @@ -80,7 +78,7 @@ ln -s /opt/$PRGNAM/$PRGNAM.png \ # Install the .desktop file mkdir -p $PKG/usr/share/applications -cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications +cp $CWD/files/$PRGNAM.desktop $PKG/usr/share/applications find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |