diff options
author | Antonio Hernández Blas <hba.nihilismus@gmail.com> | 2010-05-13 00:41:22 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:41:22 +0200 |
commit | b06596e32dc967c33086cabb770a44a2491ea55c (patch) | |
tree | 03b7a0962ce98d7a9e910834665195080c4af8fb /system/plan9port/plan9port.SlackBuild | |
parent | 67c881ec34202484a42b5bd8dc172f413a0b5568 (diff) | |
download | slackbuilds-b06596e32dc967c33086cabb770a44a2491ea55c.tar.gz |
system/plan9port: Updated for version 20091211
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r-- | system/plan9port/plan9port.SlackBuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild index 91f94bdd95..593860ba15 100644 --- a/system/plan9port/plan9port.SlackBuild +++ b/system/plan9port/plan9port.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for plan9port -# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com> +# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -22,7 +22,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=plan9port -VERSION=20080416 +VERSION=20091211 ARCH=${ARCH:-i586} # There's no use of cflags. BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,19 +64,21 @@ cd $TMP mv plan9 $PKG/opt ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | 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 || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) # man(1) from plan9port dislikes man pages compressed :) # To setup some environment variables: -install -D -m 0755 $CWD/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh -install -m 0755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh +install -D -m 0755 $CWD/profile.d/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh +install -m 0755 $CWD/profile.d/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $PKG/opt/plan9 -cp -a CHANGES install.txt LICENSE README TODO $PKG/usr/doc/$PRGNAM-$VERSION +mv CHANGES install.txt LICENSE README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Add the window manager 'rio' to xwmconfig's list. @@ -86,4 +88,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |