aboutsummaryrefslogtreecommitdiff
path: root/development/sqliteman
diff options
context:
space:
mode:
authorDhaby Xiloj <slack.dhabyx@gmail.com>2013-12-05 07:24:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-05 07:24:31 +0700
commit59715b3848ab4773c73e96aa1f7ea6aeea44166b (patch)
treea3c2f9571cf483c619f38a2f9c89af5e908cad40 /development/sqliteman
parentcae6e34a5ce5fbe8420372737d35cd8e4fc41c29 (diff)
development/sqliteman: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/sqliteman')
-rw-r--r--development/sqliteman/doinst.sh2
-rw-r--r--development/sqliteman/slack-desc2
-rw-r--r--development/sqliteman/sqliteman.SlackBuild21
-rw-r--r--development/sqliteman/sqliteman.info2
4 files changed, 15 insertions, 12 deletions
diff --git a/development/sqliteman/doinst.sh b/development/sqliteman/doinst.sh
index 301399ba37c77..5fb28930db0b9 100644
--- a/development/sqliteman/doinst.sh
+++ b/development/sqliteman/doinst.sh
@@ -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
-
diff --git a/development/sqliteman/slack-desc b/development/sqliteman/slack-desc
index 37bacabad6ffe..d0ddce64c91a3 100644
--- a/development/sqliteman/slack-desc
+++ b/development/sqliteman/slack-desc
@@ -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:
diff --git a/development/sqliteman/sqliteman.SlackBuild b/development/sqliteman/sqliteman.SlackBuild
index 663bccb4f19f6..9f3903f30b6ee 100644
--- a/development/sqliteman/sqliteman.SlackBuild
+++ b/development/sqliteman/sqliteman.SlackBuild
@@ -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
diff --git a/development/sqliteman/sqliteman.info b/development/sqliteman/sqliteman.info
index 42831d0d1e130..afe84a8c745c6 100644
--- a/development/sqliteman/sqliteman.info
+++ b/development/sqliteman/sqliteman.info
@@ -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=""