aboutsummaryrefslogtreecommitdiff
path: root/development/gisto
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-04-05 10:50:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-08 06:57:48 +0700
commitb7d62ad1ee600ca38945080a95c6f5c59726e668 (patch)
treec59914539ca2cecca424094b7b0cf125b0d1c1df /development/gisto
parent571c260447cbfc689f708e677c5664cc91d4667a (diff)
development/gisto: Updated for version 0.3.1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/gisto')
-rw-r--r--development/gisto/README10
-rw-r--r--development/gisto/gisto.SlackBuild38
-rw-r--r--development/gisto/gisto.info14
3 files changed, 22 insertions, 40 deletions
diff --git a/development/gisto/README b/development/gisto/README
index 2261e3ee80da4..55a83d373fd2a 100644
--- a/development/gisto/README
+++ b/development/gisto/README
@@ -1,6 +1,6 @@
-Gisto is a code snippet manager that runs on GitHub Gists
-and adds additional features such as searching, tagging
-and sharing gists while including a rich code editor.
-All your data is stored on GitHub and you can access it
-from GitHub Gists at any time with changes carrying
+Gisto is a code snippet manager that runs on GitHub Gists
+and adds additional features such as searching, tagging
+and sharing gists while including a rich code editor.
+All your data is stored on GitHub and you can access it
+from GitHub Gists at any time with changes carrying
over to Gisto.
diff --git a/development/gisto/gisto.SlackBuild b/development/gisto/gisto.SlackBuild
index 44710fd016c24..091b0aca47195 100644
--- a/development/gisto/gisto.SlackBuild
+++ b/development/gisto/gisto.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Slackware build script for gisto
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,13 +23,13 @@
PRGNAM=gisto
SRCNAM=Gisto
-VERSION=${VERSION:-20160110}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.3.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,30 +40,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-SHORTSYSARCH=${SHORTSYSARCH:-`getconf LONG_BIT`}
-
-if [ "${SHORTSYSARCH}" = "32" ]; then
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
SRCARCH=x86
SRCARCHSHORT=ia32
-elif [ "${SHORTSYSARCH}" = "64" ]; then
+elif [ "$ARCH" = "x86_64" ]; then
SRCARCH=x86_64
SRCARCHSHORT=x64
else
- echo "Your architecture is not supported."
+ echo "$ARCH architecture is not supported."
exit 1
fi
@@ -74,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION-linux\_$SRCARCHSHORT/
-unzip $CWD/$PRGNAM-$VERSION-linux-$SRCARCHSHORT.zip -d $SRCNAM-$VERSION-linux\_$SRCARCHSHORT/
+tar xvf $CWD/$SRCNAM-$VERSION-Linux\_$SRCARCH.tar.gz
cd $SRCNAM-$VERSION-linux\_$SRCARCHSHORT/
chown -R root:root .
find -L . \
@@ -84,7 +69,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/opt/$PRGNAM/pixmaps/
-cp -ar * $PKG/opt/$PRGNAM/
+cp -ar $PRGNAM/* $PKG/opt/$PRGNAM/
+cp -ar share $PKG/opt/$PRGNAM/
mkdir -p $PKG/usr/bin/
ln -sf /opt/$PRGNAM/${PRGNAM} $PKG/usr/bin/
@@ -93,10 +79,6 @@ mkdir -p $PKG/usr/share/{applications,menu}/
ln -sf /opt/$PRGNAM/share/applications/$PRGNAM.desktop $PKG/usr/share/applications/
ln -sf /opt/$PRGNAM/share/menu/$PRGNAM $PKG/usr/share/menu
-mkdir -p $PKG/usr/share/pixmaps/
-cp $CWD/${PRGNAM}.png $PKG/opt/$PRGNAM/pixmaps/
-ln -sf /opt/$PRGNAM/pixmaps/${PRGNAM}.png $PKG/usr/share/pixmaps/
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
#cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION/
diff --git a/development/gisto/gisto.info b/development/gisto/gisto.info
index 8119043ef5c3e..375b4b7b44aaa 100644
--- a/development/gisto/gisto.info
+++ b/development/gisto/gisto.info
@@ -1,10 +1,10 @@
PRGNAM="gisto"
-VERSION="20160110"
+VERSION="0.3.1"
HOMEPAGE="http://www.gistoapp.com/"
-DOWNLOAD="http://build.gistoapp.com/20160110/gisto-20160110-linux-ia32.zip"
-MD5SUM="08ff5f974b0fed512c3de169458391cb"
-DOWNLOAD_x86_64="http://build.gistoapp.com/20160110/gisto-20160110-linux-x64.zip"
-MD5SUM_x86_64="a5e04010f2d52280e6c5ce858cfe3606"
+DOWNLOAD="http://download.gistoapp.com/Gisto-0.3.1-Linux_x86.tar.gz"
+MD5SUM="278127a3d3367b62f6fec3bfb480171a"
+DOWNLOAD_x86_64="http://download.gistoapp.com/Gisto-0.3.1-Linux_x86_64.tar.gz"
+MD5SUM_x86_64="f140042d45b965695c5e4c3862daaaf3"
REQUIRES=""
-MAINTAINER="Ryan P.C. McQuen"
-EMAIL="ryanpcmcquen@member.fsf.org"
+MAINTAINER="DhabyX"
+EMAIL="slack.dhabyx@gmail.com"