From 59715b3848ab4773c73e96aa1f7ea6aeea44166b Mon Sep 17 00:00:00 2001 From: Dhaby Xiloj Date: Thu, 5 Dec 2013 07:24:31 +0700 Subject: development/sqliteman: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- development/sqliteman/doinst.sh | 2 -- development/sqliteman/slack-desc | 2 +- development/sqliteman/sqliteman.SlackBuild | 21 +++++++++++++-------- development/sqliteman/sqliteman.info | 2 +- 4 files changed, 15 insertions(+), 12 deletions(-) (limited to 'development/sqliteman') diff --git a/development/sqliteman/doinst.sh b/development/sqliteman/doinst.sh index 301399ba37..5fb28930db 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 37bacabad6..d0ddce64c9 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 663bccb4f1..9f3903f30b 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 +# Copyright (c) 2008-2013, Dhaby Xiloj # 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 42831d0d1e..afe84a8c74 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="" -- cgit v1.2.3