diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-08-03 02:21:51 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-11 01:53:00 -0500 |
commit | 0753bf962e4eeb3b33525a3dd62df9068cc846e1 (patch) | |
tree | 1826ee124bddfe4ccf5f081f8c2b41dd3a36c6f2 /system/xtrs/xtrs.SlackBuild | |
parent | b92a788c3c51490375395af2b6e82372f8c80f8b (diff) | |
download | slackbuilds-0753bf962e4eeb3b33525a3dd62df9068cc846e1.tar.gz |
system/xtrs: Miscellaneous cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/xtrs/xtrs.SlackBuild')
-rw-r--r-- | system/xtrs/xtrs.SlackBuild | 18 |
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 |