desktop/Simplenote: Supports x86_64 only.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Skaendo 2018-04-26 21:32:10 +01:00 committed by Willy Sudiarto Raharjo
parent 63615a63e9
commit 7317d89e89
3 changed files with 14 additions and 6 deletions

View file

@ -1,5 +1,7 @@
Simple note taking program.
Simplenote is only x86_64.
This is only a binary repackage, the source can be found at:
https://github.com/Automattic/simplenote-electron/
but requires build time dependencies not available at SBo.

View file

@ -34,12 +34,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# Set to abort if not building on x86_64
if [ "$ARCH" != "x86_64" ]; then
echo "$ARCH is not supported. Aborting."
exit 1
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION-x64
rm -rf $SRCNAM-x64
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-x64
chown -R root:root .
@ -47,7 +53,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Install into /opt
mkdir -p $PKG/opt/Simplenote

View file

@ -1,10 +1,10 @@
PRGNAM="Simplenote"
VERSION="1.1.3"
HOMEPAGE="https://simplenote.com/"
DOWNLOAD="https://github.com/Automattic/simplenote-electron/releases/download/v1.1.3/Simplenote-linux-1.1.3.tar.gz"
MD5SUM="f7bf464056f804e73cdae978e8eb26f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/Automattic/simplenote-electron/releases/download/v1.1.3/Simplenote-linux-1.1.3.tar.gz"
MD5SUM_x86_64="f7bf464056f804e73cdae978e8eb26f1"
REQUIRES=""
MAINTAINER="Skaendo"
EMAIL="skaendo at excite dot com"