diff options
author | Jeremy Hansen <jebrhansen+SBo@gmail.com> | 2017-11-11 03:08:12 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:57 +0700 |
commit | d76adf26e8f655f818ff2bace1ea5c484674b48e (patch) | |
tree | fc5084f76ed84fd5bf57ef3064389cf613faacea /network/transgui/transgui.SlackBuild | |
parent | aef2baa8e15806eb8777f0272606b590a65cc057 (diff) |
network/transgui: Added a desktop menu entry
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/transgui/transgui.SlackBuild')
-rw-r--r-- | network/transgui/transgui.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/network/transgui/transgui.SlackBuild b/network/transgui/transgui.SlackBuild index 102414275d87b..3f89f3da3e5da 100644 --- a/network/transgui/transgui.SlackBuild +++ b/network/transgui/transgui.SlackBuild @@ -80,6 +80,11 @@ mkdir -p $PKG/usr/share/$PRGNAM/lang cp lang/transgui.* $PKG/usr/share/$PRGNAM/lang/ rm $PKG/usr/share/$PRGNAM/lang/transgui.template +# Add menu entry -- thanks to Arch for the .desktop file +mkdir -p $PKG/usr/share/{applications,pixmaps} +cp $CWD/transgui.desktop $PKG/usr/share/applications/ +cp transgui.png $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 @@ -90,6 +95,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |