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:
Ryan P.C. McQuen 2016-12-12 06:06:52 -08:00 committed by Willy Sudiarto Raharjo
parent e14318084c
commit e2596abee7
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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