aboutsummaryrefslogtreecommitdiff
path: root/games/gargoyle/gargoyle.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <thedoogster@gmail.com>2012-02-20 07:39:16 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:48 -0600
commit7037a0b17a06c4a7ebf9894ab3809cf096032053 (patch)
tree0b7aae99a6bc7fbbd9fcdf8df407b55b783cde05 /games/gargoyle/gargoyle.SlackBuild
parent5a2ace79e8527f117923b4892ffb99aaffae1ff8 (diff)
games/gargoyle: various build improvements
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/gargoyle/gargoyle.SlackBuild')
-rw-r--r--games/gargoyle/gargoyle.SlackBuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild
index a3b76a3d2adef..64720bf2c5c9d 100644
--- a/games/gargoyle/gargoyle.SlackBuild
+++ b/games/gargoyle/gargoyle.SlackBuild
@@ -2,11 +2,11 @@
# Slackware build script for gargoyle
-# Written by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm)
+# Written by Dugan Chen (thedoogster@gmail.com)
PRGNAM=gargoyle
VERSION=${VERSION:-2011.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,23 +64,21 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/bin
-cd $PKG/usr/bin
+install -m755 $CWD/gargoyle.sh $PKG/usr/bin/gargoyle
-( ln -sf ../libexec/gargoyle/gargoyle . )
-
-cd $PKG/usr/lib$LIBDIRSUFFIX
-
-( ln -sf ./gargoyle/libgarglk.so . )
-
-cd $TMP/$PRGNAM-$VERSION
+ln -s gargoyle/libgarglk.so $PKG/usr/lib${LIBDIRSUFFIX}/libgarglk.so
mkdir -p $PKG/etc
cp garglk/garglk.ini $PKG/etc/garglk.ini.new
+mkdir -p $PKG/usr/share/pixmaps
+cp garglk/gargoyle-house.png $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/share/applications
+cp garglk/gargoyle.desktop $PKG/usr/share/applications
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- INSTALL \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install