summaryrefslogtreecommitdiff
path: root/system/vice/vice.SlackBuild
diff options
context:
space:
mode:
authorMauro Giachero <mauro dot giachero at gmail dot com>2010-05-12 17:46:14 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:46:14 +0200
commitdd0a17bd96dae232242cafc00c1df394b6b223d0 (patch)
tree7806ee3a2e1024a266e7ae7bfbb3d0699ca13b1d /system/vice/vice.SlackBuild
parentf56d09493877605779d2846ec57aea94ef06d79d (diff)
downloadslackbuilds-dd0a17bd96dae232242cafc00c1df394b6b223d0.tar.gz
system/vice: Updated for version 2.1
Diffstat (limited to 'system/vice/vice.SlackBuild')
-rw-r--r--system/vice/vice.SlackBuild24
1 files changed, 13 insertions, 11 deletions
diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild
index 2d21966bc1..871ea9600a 100644
--- a/system/vice/vice.SlackBuild
+++ b/system/vice/vice.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vice
-VERSION=2.0
+VERSION=2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix PAL emulation.
-# This is an official patch to release 2.0 and has been applied upstream.
-zcat $CWD/gnome-palemu.diff.gz |patch -p0
-
# Set the help path correctly with respect to the actually installed doc
# folder (the folder set up by "make install" is quite broken).
-# This also changes the HTML help viewer from "firefox" to "htmlview".
patch -p1 <$CWD/vice-fix-help.patch
CFLAGS="$SLKCFLAGS" \
@@ -79,7 +74,8 @@ make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -98,18 +94,24 @@ cp -R doc $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -name "Makefile*" -exec rm -f {} \;
find $PKG/usr/doc/$PRGNAM-$VERSION -name "tex*" -exec rm -f {} \;
# Copy additional program documentation
-cp -a AUTHORS ChangeLog COPYING FEEDBACK INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING FEEDBACK INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
# Create link to documentation folder in the place VICE expects
-# to find it (looks like the VICE team does something strange with
-# the build scripts, as it resulted very difficult to actually set
-# a different doc folder)
+# to find it.
( cd $PKG/usr/lib/$PRGNAM
ln -s /usr/doc/$PRGNAM-$VERSION doc
)
+# Install icon and menu entries
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cp $CWD/*.desktop $PKG/usr/share/applications
+cp $CWD/vice.png $PKG/usr/share/pixmaps
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz