mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/gisto: Updated for version 20160110.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
73da0b6269
commit
d311dbc302
2 changed files with 23 additions and 18 deletions
|
@ -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=""
|
||||
SRCARCH=x86
|
||||
SRCARCHSHORT=ia32
|
||||
fi
|
||||
|
||||
DOCS="README setup"
|
||||
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=""
|
||||
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue