diff options
author | JK Wood <joshuakwood@gmail.com> | 2014-07-21 19:18:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-21 19:18:40 +0700 |
commit | 043b31f18aad0a92e3473c78b59e3095c4879d4a (patch) | |
tree | eb977d6a5e63bf40a0cbe458ef234e27cdd9db2b /ham/ebook2cwgui/ebook2cwgui.SlackBuild | |
parent | 61db789894da2cd135f5f80d7e32c11c6f755279 (diff) | |
download | slackbuilds-043b31f18aad0a92e3473c78b59e3095c4879d4a.tar.gz |
ham/ebook2cwgui: Added desktop file and icon.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/ebook2cwgui/ebook2cwgui.SlackBuild')
-rw-r--r-- | ham/ebook2cwgui/ebook2cwgui.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ham/ebook2cwgui/ebook2cwgui.SlackBuild b/ham/ebook2cwgui/ebook2cwgui.SlackBuild index 1403083302..c6c8f51b41 100644 --- a/ham/ebook2cwgui/ebook2cwgui.SlackBuild +++ b/ham/ebook2cwgui/ebook2cwgui.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=ebook2cwgui VERSION=${VERSION:-0.1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,6 +75,12 @@ CXXFLAGS="$SLKCFLAGS" \ make DESTDIR=$PKG/usr make install DESTDIR=$PKG/usr +mkdir -p $PKG/usr/share/applications +install -m 644 $CWD/ebook2cwgui.desktop $PKG/usr/share/applications + +mkdir -p $PKG/usr/share/pixmaps +install -m 644 ebook2cw.xpm $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 @@ -89,6 +95,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} |