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 | |
parent | 0075bfaf0843e2bc9ddbcb1703b683963f27fe20 (diff) |
libraries/locale-gettext: Updated for version 1.05
Diffstat (limited to 'libraries/locale-gettext')
-rw-r--r-- | libraries/locale-gettext/README | 1 | ||||
-rw-r--r-- | libraries/locale-gettext/locale-gettext.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/locale-gettext/locale-gettext.info | 2 | ||||
-rw-r--r-- | libraries/locale-gettext/slack-desc | 13 |
4 files changed, 23 insertions, 6 deletions
diff --git a/libraries/locale-gettext/README b/libraries/locale-gettext/README index 5a1823d4d3ee..ac32c70e9c31 100644 --- a/libraries/locale-gettext/README +++ b/libraries/locale-gettext/README @@ -3,4 +3,3 @@ Locale::gettext perl module This is a perl5 module quickly written to gain access to the C library functions for internatialization. They work just like the C versions. - diff --git a/libraries/locale-gettext/locale-gettext.SlackBuild b/libraries/locale-gettext/locale-gettext.SlackBuild index c01609d2a3fc..fa00322eaf68 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 diff --git a/libraries/locale-gettext/locale-gettext.info b/libraries/locale-gettext/locale-gettext.info index bbe433c380eb..8c318cd03a02 100644 --- a/libraries/locale-gettext/locale-gettext.info +++ b/libraries/locale-gettext/locale-gettext.info @@ -5,4 +5,4 @@ DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-1.05.tar.g MD5SUM="f3d3f474a1458f37174c410dfef61a46" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="robw810" +APPROVED="BP{k}" diff --git a/libraries/locale-gettext/slack-desc b/libraries/locale-gettext/slack-desc index 6eac41ce5c21..6224698a796a 100644 --- a/libraries/locale-gettext/slack-desc +++ b/libraries/locale-gettext/slack-desc @@ -1,4 +1,12 @@ -locale-gettext: Locale::gettext perl module +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +locale-gettext: locale-gettext (Locale::gettext perl module) locale-gettext: locale-gettext: This is a perl5 module quickly written to gain access to locale-gettext: the C library functions for internatialization. They work @@ -6,3 +14,6 @@ locale-gettext: just like the C versions. locale-gettext: locale-gettext: locale-gettext: +locale-gettext: +locale-gettext: +locale-gettext: |