diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2016-03-04 16:38:30 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-06 17:43:19 +0700 |
commit | d311dbc302d098849058d01cc7504fcdb15d9f3c (patch) | |
tree | f04db8df269c9890390eb15d6bd47ae2b3133542 /development/gisto | |
parent | 73da0b6269149f909e614a28472b0ba785647f9d (diff) |
development/gisto: Updated for version 20160110.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'development/gisto')
-rw-r--r-- | development/gisto/gisto.SlackBuild | 27 | ||||
-rw-r--r-- | development/gisto/gisto.info | 10 |
2 files changed, 21 insertions, 16 deletions
diff --git a/development/gisto/gisto.SlackBuild b/development/gisto/gisto.SlackBuild index 21c4331782cb7..0d3def4ed5643 100644 --- a/development/gisto/gisto.SlackBuild +++ b/development/gisto/gisto.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=gisto SRCNAM=Gisto -VERSION=${VERSION:-0.3.1} +VERSION=${VERSION:-20160110} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,26 +42,31 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" - SRCARCH=x86 - SRCARCHSHORT=ia32 elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - SRCARCH=x86 - SRCARCHSHORT=ia32 elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - SRCARCH=x86_64 - SRCARCHSHORT=x64 else SLKCFLAGS="-O2" LIBDIRSUFFIX="" +fi + +SHORTSYSARCH=${SHORTSYSARCH:-`getconf LONG_BIT`} + +if [ "${SHORTSYSARCH}" = "32" ]; then SRCARCH=x86 SRCARCHSHORT=ia32 +elif [ "${SHORTSYSARCH}" = "64" ]; then + SRCARCH=x86_64 + SRCARCHSHORT=x64 +else + echo "Your architecture is not supported." + exit 1 fi -DOCS="README setup" +DOCS="" set -e @@ -69,7 +74,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION-linux\_$SRCARCHSHORT/ -tar xvpf $CWD/$SRCNAM-$VERSION-Linux\_$SRCARCH.tar.gz +unzip $CWD/$PRGNAM-$VERSION-linux-$SRCARCHSHORT.zip -d $SRCNAM-$VERSION-linux\_$SRCARCHSHORT/ cd $SRCNAM-$VERSION-linux\_$SRCARCHSHORT/ chown -R root:root . find -L . \ @@ -79,7 +84,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/opt/$PRGNAM/ -cp -ar setup share gisto/* $PKG/opt/$PRGNAM/ +cp -ar * $PKG/opt/$PRGNAM/ mkdir -p $PKG/usr/bin/ ln -sf /opt/$PRGNAM/${PRGNAM} $PKG/usr/bin/ @@ -94,7 +99,7 @@ ln -sf /opt/$PRGNAM/pixmaps/${PRGNAM}.xpm $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/ +#cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/development/gisto/gisto.info b/development/gisto/gisto.info index 2c24132332914..8ffd9d0d602c9 100644 --- a/development/gisto/gisto.info +++ b/development/gisto/gisto.info @@ -1,10 +1,10 @@ PRGNAM="gisto" -VERSION="0.3.1" +VERSION="20160110" HOMEPAGE="http://www.gistoapp.com/" -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" +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" REQUIRES="" MAINTAINER="Ryan P.C. McQuen" EMAIL="ryan.q@linux.com" |