summaryrefslogtreecommitdiff
path: root/system/xtrs/xtrs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xtrs/xtrs.SlackBuild')
-rw-r--r--system/xtrs/xtrs.SlackBuild18
1 files changed, 7 insertions, 11 deletions
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 <niels.horn@gmail.com>
+# 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