mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-03 07:54:34 +02:00
development/sqlitebrowser: Add .desktop file.
Thanks to Michel Eillebrecht. Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
e14318084c
commit
e2596abee7
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue