diff options
author | JK Wood <joshuakwood@gmail.com> | 2014-07-21 19:19:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-22 06:12:44 +0700 |
commit | 256a0c56a072cb1f1632e49adff009e372a82bf6 (patch) | |
tree | 671dcd1e7cf32f019e09288fe4cdd17c3b7dda80 /ham/xfhell/xfhell.SlackBuild | |
parent | 043b31f18aad0a92e3473c78b59e3095c4879d4a (diff) | |
download | slackbuilds-256a0c56a072cb1f1632e49adff009e372a82bf6.tar.gz |
ham/xfhell: Added desktop file and icon.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/xfhell/xfhell.SlackBuild')
-rw-r--r-- | ham/xfhell/xfhell.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ham/xfhell/xfhell.SlackBuild b/ham/xfhell/xfhell.SlackBuild index 85f8d324d9..a62ac02dea 100644 --- a/ham/xfhell/xfhell.SlackBuild +++ b/ham/xfhell/xfhell.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=xfhell VERSION=${VERSION:-2.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -83,6 +83,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +mkdir -p $PKG/usr/share/applications +install -m 644 $CWD/xfhell.desktop $PKG/usr/share/applications + +mkdir -p $PKG/usr/share/pixmaps +install -m 644 $CWD/xfhell.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 @@ -97,6 +103,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \; 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} |