diff options
author | Skaendo <skaendo at excite dot com> | 2018-04-26 21:32:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-28 06:40:12 +0700 |
commit | 7317d89e89d0db37bedb59ee7e1253bfde5566d4 (patch) | |
tree | 0dc2f523cd0be3236214577a258d5076f606d05c /desktop | |
parent | 63615a63e9daad0938f0bdd7b3b0507e1dd70b55 (diff) |
desktop/Simplenote: Supports x86_64 only.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/Simplenote/README | 2 | ||||
-rw-r--r-- | desktop/Simplenote/Simplenote.SlackBuild | 10 | ||||
-rw-r--r-- | desktop/Simplenote/Simplenote.info | 8 |
3 files changed, 14 insertions, 6 deletions
diff --git a/desktop/Simplenote/README b/desktop/Simplenote/README index 1f6fd386a866b..70d21a131ef24 100644 --- a/desktop/Simplenote/README +++ b/desktop/Simplenote/README @@ -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. diff --git a/desktop/Simplenote/Simplenote.SlackBuild b/desktop/Simplenote/Simplenote.SlackBuild index 197dc39c5a875..b8de49a16b7c5 100644 --- a/desktop/Simplenote/Simplenote.SlackBuild +++ b/desktop/Simplenote/Simplenote.SlackBuild @@ -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 diff --git a/desktop/Simplenote/Simplenote.info b/desktop/Simplenote/Simplenote.info index 48286cd9be3ec..e7d740b08e551 100644 --- a/desktop/Simplenote/Simplenote.info +++ b/desktop/Simplenote/Simplenote.info @@ -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" |