mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/squirrel-sql: Updated for version 3.2.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
3b1a33551c
commit
e9566a0756
3 changed files with 20 additions and 15 deletions
|
@ -5,7 +5,7 @@
|
||||||
# Written by Dario Nicodemi dario.sbo@gmail.com
|
# Written by Dario Nicodemi dario.sbo@gmail.com
|
||||||
|
|
||||||
PRGNAM=squirrel-sql
|
PRGNAM=squirrel-sql
|
||||||
VERSION=${VERSION:-3.1}
|
VERSION=${VERSION:-3.2.1}
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -15,13 +15,14 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
set -e # Exit on most errors
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION-optional
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION-optional.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION-optional.tar.gz
|
||||||
|
mv $PRGNAM-$VERSION-optional $PRGNAM-$VERSION
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
|
@ -32,7 +33,7 @@ find . \
|
||||||
|
|
||||||
mkdir -p $PKG/opt/$PRGNAM
|
mkdir -p $PKG/opt/$PRGNAM
|
||||||
cp -r . $PKG/opt/$PRGNAM
|
cp -r . $PKG/opt/$PRGNAM
|
||||||
rm -rf $PKG/opt/$PRGNAM/{Uninstaller,update,addpath.bat}
|
rm -rf $PKG/opt/$PRGNAM/{Uninstaller,update,addpath.bat,squirrel-sql.bat}
|
||||||
mkdir -p $PKG/usr/bin
|
mkdir -p $PKG/usr/bin
|
||||||
cat <<EOF > $PKG/usr/bin/squirrel-sql
|
cat <<EOF > $PKG/usr/bin/squirrel-sql
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -45,8 +46,12 @@ mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||||
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
|
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
# Move doc to standard location + create symlink
|
||||||
cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc
|
||||||
|
mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cd $PKG/opt/$PRGNAM
|
||||||
|
ln -s ../../usr/doc/$PRGNAM-$VERSION doc
|
||||||
|
cd -
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="squirrel-sql"
|
PRGNAM="squirrel-sql"
|
||||||
VERSION="3.1"
|
VERSION="3.2.1"
|
||||||
HOMEPAGE="http://squirrel-sql.sourceforge.net/"
|
HOMEPAGE="http://squirrel-sql.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/squirrel-sql/squirrel-sql-3.1-optional.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/squirrel-sql/squirrel-sql-3.2.1-optional.tar.gz"
|
||||||
MD5SUM="4957ae80a7887942bbc085c41bfdfb50"
|
MD5SUM="0be3077619c87bc272c8c779507bda9b"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Dario Nicodemi"
|
MAINTAINER="Dario Nicodemi"
|
||||||
EMAIL="dario.sbo@gmail.com"
|
EMAIL="dario.sbo@gmail.com"
|
||||||
APPROVED="rworkman"
|
APPROVED="Niels Horn"
|
||||||
|
|
Loading…
Reference in a new issue