diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 19:45:21 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:45:21 +0200 |
commit | 345cea0f54338563209af265389d3ab52dc3d631 (patch) | |
tree | 3b6124608af55aa7cc11e8ea4450f3e36a0828ee /libraries/locale-gettext/locale-gettext.SlackBuild | |
parent | 0075bfaf0843e2bc9ddbcb1703b683963f27fe20 (diff) | |
download | slackbuilds-345cea0f54338563209af265389d3ab52dc3d631.tar.gz |
libraries/locale-gettext: Updated for version 1.05
Diffstat (limited to 'libraries/locale-gettext/locale-gettext.SlackBuild')
-rw-r--r-- | libraries/locale-gettext/locale-gettext.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libraries/locale-gettext/locale-gettext.SlackBuild b/libraries/locale-gettext/locale-gettext.SlackBuild index c01609d2a3..fa00322eaf 100644 --- a/libraries/locale-gettext/locale-gettext.SlackBuild +++ b/libraries/locale-gettext/locale-gettext.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for locale-gettext perl module -# Copyright 2006 Robby Workman (http://rlworkman.net) +# Copyright 2006-2007 Robby Workman (http://rlworkman.net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ VERSION=1.05 ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -52,9 +52,16 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mv $PKG/usr/share/man $PKG/usr/man ( 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 + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) rm -rf $PKG/usr/share +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |