mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
development/sqliteman: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cae6e34a5c
commit
59715b3848
4 changed files with 15 additions and 12 deletions
|
@ -1,5 +1,3 @@
|
|||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ sqliteman: Sqliteman is a simple but powerful Sqlite3 GUI database manager.
|
|||
sqliteman: Manage tables, views, or triggers, administrate the database
|
||||
sqliteman: space and index statistics.
|
||||
sqliteman:
|
||||
sqliteman: Homepage: http://sqliteman.sourceforge.net
|
||||
sqliteman: Homepage: http://sqliteman.com/
|
||||
sqliteman:
|
||||
sqliteman:
|
||||
sqliteman:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for sqliteman
|
||||
|
||||
# Copyright (c) 2008, Dhaby Xiloj <slack.dhabyx@gmail.com>
|
||||
# Copyright (c) 2008-2013, Dhaby Xiloj <slack.dhabyx@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -22,8 +22,8 @@
|
|||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=sqliteman
|
||||
VERSION=1.2.2
|
||||
BUILD=${BUILD:-1}
|
||||
VERSION=${VERSION:-1.2.2}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -63,10 +63,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
|||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -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 {} \;
|
||||
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
|
@ -82,7 +82,12 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# /usr/share/icons is for themed/scaled icons
|
||||
mv $PKG/usr/share/icons $PKG/usr/share/pixmaps
|
||||
mv $PKG/usr/share/icons/hicolor $PKG/usr/share/pixmaps
|
||||
rm -rf $PKG/usr/share/icons
|
||||
|
||||
# Adding Categories entry for .desktop file
|
||||
sed -e "10a\Categories=Database;Development;" sqliteman.desktop \
|
||||
> $PKG/usr/share/applications/sqliteman.desktop
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS README COPYING VERSION $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PRGNAM="sqliteman"
|
||||
VERSION="1.2.2"
|
||||
HOMEPAGE="http://sqliteman.sourceforge.net"
|
||||
HOMEPAGE="http://sqliteman.com/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/sqliteman/sqliteman-1.2.2.tar.gz"
|
||||
MD5SUM="5ecdf710e23606e1b924f740ea69306d"
|
||||
DOWNLOAD_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue