From 0753bf962e4eeb3b33525a3dd62df9068cc846e1 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Tue, 3 Aug 2010 02:21:51 -0500 Subject: [PATCH] system/xtrs: Miscellaneous cleanups Signed-off-by: Robby Workman --- system/xtrs/README | 2 -- system/xtrs/slack-desc | 2 +- system/xtrs/xtrs.SlackBuild | 18 +++++++----------- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/system/xtrs/README b/system/xtrs/README index 1ea76dd3c2..ac57d3b32b 100644 --- a/system/xtrs/README +++ b/system/xtrs/README @@ -1,5 +1,3 @@ -xtrs: TRS-80 Model I/III/4/4P Emulator for Unix - xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix and the X Window system. It includes lower case, the real time clock, hi-res graphics, serial port, parallel printer, mouse, cassette, sound and music output diff --git a/system/xtrs/slack-desc b/system/xtrs/slack-desc index 7d5d379e7c..053254138d 100644 --- a/system/xtrs/slack-desc +++ b/system/xtrs/slack-desc @@ -6,7 +6,7 @@ # leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -xtrs: xtrs: TRS-80 Model I/III/4/4P Emulator for Unix +xtrs: xtrs (TRS-80 Model I/III/4/4P Emulator for Unix) xtrs: xtrs: xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix and xtrs: the X Window system. It includes lower case, the real time clock, hi- diff --git a/system/xtrs/xtrs.SlackBuild b/system/xtrs/xtrs.SlackBuild index 8140adf53b..5a335c7b6e 100644 --- a/system/xtrs/xtrs.SlackBuild +++ b/system/xtrs/xtrs.SlackBuild @@ -2,20 +2,18 @@ # Slackware build script for xtrs - the X Windows TRS-80 emulator -# Written by Niels Horn - niels.horn@gmail.com -# revision date 2009/09/05 +# Written by Niels Horn +# revision date 2010/07/17 PRGNAM=xtrs -VERSION=4.9d -BUILD=${BUILD:-1} +VERSION=${VERSION:-4.9d} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -61,7 +59,7 @@ make \ APPDEFAULTS='-DAPPDEFAULTS=\"/etc/X11/app-defaults\"' mkdir -p $PKG/usr/bin $PKG/usr/man/man1 -make BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man install || exit +make BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man install # Make a directory for the ROMs (not included), include fakerom.hex & xtrsrom4p.hex mkdir -p $PKG/usr/share/xtrs @@ -75,10 +73,8 @@ cp -a $CWD/xtrs-ico.png $PKG/usr/share/pixmaps find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog README xtrsrom4p.README $PKG/usr/doc/$PRGNAM-$VERSION