summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Ryan P.C. McQuen <ryan.q@linux.com>2016-12-12 06:06:52 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-17 06:56:09 +0700
commite2596abee75764e37750d79957e4792d6842732f (patch)
tree07161a4e57e9f5a3c3c32ae371fc16f6c3ac212e
parente14318084c6da28b8aa6e8200e3cfc5564b6ce3f (diff)
downloadslackbuilds-e2596abee75764e37750d79957e4792d6842732f.tar.gz
slackbuilds-e2596abee75764e37750d79957e4792d6842732f.tar.xz
development/sqlitebrowser: Add .desktop file.
Thanks to Michel Eillebrecht. Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
-rw-r--r--development/sqlitebrowser/sqlitebrowser.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/development/sqlitebrowser/sqlitebrowser.SlackBuild b/development/sqlitebrowser/sqlitebrowser.SlackBuild
index 8a4a083eb5..f162d49986 100644
--- a/development/sqlitebrowser/sqlitebrowser.SlackBuild
+++ b/development/sqlitebrowser/sqlitebrowser.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=sqlitebrowser
VERSION=${VERSION:-3.9.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -62,6 +62,11 @@ make LINK="g++ -ldl"
mkdir -p $PKG/usr/bin
cp src/$PRGNAM $PKG/usr/bin/
+mkdir -p $PKG/usr/share/applications/
+cp distri/$PRGNAM.desktop $PKG/usr/share/applications/
+mkdir -p $PKG/usr/share/pixmaps/
+cp images/$PRGNAM.svg $PKG/usr/share/pixmaps/
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true