aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodfall <dave@unrealize.co.uk>2010-03-03 14:25:05 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:25:14 +0200
commit33410cd9496050c94b0cbfa8828d2d636ad63e76 (patch)
tree44e08d0e395c7e466a86a17158e3bfe8adb4c850
parent2d3c596e481d4774189cd35dd2c06fd9a46e5cb5 (diff)
office/aiksaurus: Build bump.
Added .desktop file and icon for gtk frontend. Thanks to David Woodfall.
-rw-r--r--office/aiksaurus/aiksaurus.SlackBuild14
-rw-r--r--office/aiksaurus/aiksaurus.info2
-rw-r--r--office/aiksaurus/doinst.sh3
-rw-r--r--office/aiksaurus/gaiksaurus.desktop15
-rw-r--r--office/aiksaurus/gaiksaurus.pngbin0 -> 3083 bytes
5 files changed, 27 insertions, 7 deletions
diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild
index e9b865e53729..fa6031b75982 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 <dave@unrealize.co.uk>
# 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 8003e15fe868..55c4f462415f 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 000000000000..3857649f506a
--- /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 000000000000..2cb3bfcf5722
--- /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 000000000000..e4de2e268d84
--- /dev/null
+++ b/office/aiksaurus/gaiksaurus.png
Binary files differ