From 33410cd9496050c94b0cbfa8828d2d636ad63e76 Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Wed, 3 Mar 2010 14:25:05 -0600 Subject: office/aiksaurus: Build bump. Added .desktop file and icon for gtk frontend. Thanks to David Woodfall. --- office/aiksaurus/aiksaurus.SlackBuild | 14 ++++++++------ office/aiksaurus/aiksaurus.info | 2 +- office/aiksaurus/doinst.sh | 3 +++ office/aiksaurus/gaiksaurus.desktop | 15 +++++++++++++++ office/aiksaurus/gaiksaurus.png | Bin 0 -> 3083 bytes 5 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 office/aiksaurus/doinst.sh create mode 100644 office/aiksaurus/gaiksaurus.desktop create mode 100644 office/aiksaurus/gaiksaurus.png diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild index e9b865e537..fa6031b759 100644 --- a/office/aiksaurus/aiksaurus.SlackBuild +++ b/office/aiksaurus/aiksaurus.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for +# Slackware build script for aiksaurus # Copyright 2009 David Woodfall # All rights reserved. @@ -20,13 +20,12 @@ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF -# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF. +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=aiksaurus VERSION=${VERSION:-1.2.1} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -46,7 +45,7 @@ fi set -e # Exit on most errors rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG/usr/share/icons/gaiksaurus $OUTPUT $PKG/usr/share/applications cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz @@ -86,7 +85,10 @@ 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 + +cp $CWD/gaiksaurus.png $PKG/usr/share/icons/gaiksaurus +cp $CWD/gaiksaurus.desktop $PKG/usr/share/applications cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - diff --git a/office/aiksaurus/aiksaurus.info b/office/aiksaurus/aiksaurus.info index 8003e15fe8..55c4f46241 100644 --- a/office/aiksaurus/aiksaurus.info +++ b/office/aiksaurus/aiksaurus.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="David Woodfall" EMAIL="dave@unrealize.co.uk" -APPROVED="dsomero" +APPROVED="Erik Hanson" diff --git a/office/aiksaurus/doinst.sh b/office/aiksaurus/doinst.sh new file mode 100644 index 0000000000..3857649f50 --- /dev/null +++ b/office/aiksaurus/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null +fi diff --git a/office/aiksaurus/gaiksaurus.desktop b/office/aiksaurus/gaiksaurus.desktop new file mode 100644 index 0000000000..2cb3bfcf57 --- /dev/null +++ b/office/aiksaurus/gaiksaurus.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Categories=Office; +Comment=Thesaurus +Encoding=UTF-8 +Exec=gaiksaurus +GenericName=Thesaurus +Icon=/usr/share/icons/gaiksaurus/gaiksaurus.png +Name=Gaiksaurus +NoDisplay=false +StartupNotify=true +Terminal=0 +TerminalOptions= +Type=Application +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/office/aiksaurus/gaiksaurus.png b/office/aiksaurus/gaiksaurus.png new file mode 100644 index 0000000000..e4de2e268d Binary files /dev/null and b/office/aiksaurus/gaiksaurus.png differ -- cgit v1.2.3