diff options
Diffstat (limited to 'games/gargoyle/gargoyle.SlackBuild')
-rw-r--r-- | games/gargoyle/gargoyle.SlackBuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild index a3b76a3d2a..64720bf2c5 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 |