diff options
author | Geoff Ritter <geoff do ritter at gmail dot com> | 2011-05-28 00:51:23 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-13 01:30:57 -0400 |
commit | 01d0231fd514140115abd34bd54c1f4c048ed892 (patch) | |
tree | 1901afaab2469ccc33a242a591abb6a2c75818d7 /misc/ardesia/ardesia.SlackBuild | |
parent | d1dfe23b749354654439ecafb0611116b42747f4 (diff) |
misc/ardesia: Updated for version 0.8.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/ardesia/ardesia.SlackBuild')
-rw-r--r-- | misc/ardesia/ardesia.SlackBuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/misc/ardesia/ardesia.SlackBuild b/misc/ardesia/ardesia.SlackBuild index 796611871459..967dd22b4a01 100644 --- a/misc/ardesia/ardesia.SlackBuild +++ b/misc/ardesia/ardesia.SlackBuild @@ -7,7 +7,7 @@ # Public Domain PRGNAM=ardesia -VERSION=${VERSION:-0.6} +VERSION=${VERSION:-0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,7 +44,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . # If you are going to blindly reset permissions, this is a bit more readable. @@ -72,18 +72,24 @@ make install DESTDIR=$PKG # Make sure the Icon parameter is set properly in .desktop file sed -i 's/Icon=.*/Icon=ardesia/' $PKG/usr/share/applications/ardesia.desktop # Copy the icon to the proper folder -mkdir -p $PKG/usr/share/icons/hicolor/22x22/apps/ -cp $PKG/usr/share/pixmaps/ardesia.png $PKG/usr/share/icons/hicolor/22x22/apps +mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/ +mv $PKG/usr/share/icons/ardesia.png $PKG/usr/share/icons/hicolor/48x48/apps 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 -# No Manpages +# A Man page was added +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# --docdir is not respected and does not install all of the standard document files +# Alternate Fail safe to the standard. +# if [ -d $PKG/usr/share/doc/ ]; then mv $PKG/usr/share/doc/ $PKG/usr/doc/; fi +# if [ -d $PKG/usr/doc/$PRGNAM ]; then rename $PRGNAM $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION; fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -# make install already did this but to the wrong directory -# --docdir is not respected -mv $PKG/usr/doc/ardesia/* $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION +# Copy the build script cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |