diff options
Diffstat (limited to 'libraries/perl-event/perl-event.SlackBuild')
-rw-r--r-- | libraries/perl-event/perl-event.SlackBuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/libraries/perl-event/perl-event.SlackBuild b/libraries/perl-event/perl-event.SlackBuild index 164c16a69b..310df6453b 100644 --- a/libraries/perl-event/perl-event.SlackBuild +++ b/libraries/perl-event/perl-event.SlackBuild @@ -5,16 +5,14 @@ # Written by Luis Henrique <lmello.009@gmail.com> PRGNAM=perl-event -VERSION=${VERSION:-1.11} +VERSION=${VERSION:-1.13} BUILD=${BUILD:-1} 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 @@ -62,17 +60,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share -( 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 -) - -( cd $PKG - find . -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f -) +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 + +find $PKG -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ANNOUNCE ChangeLog INSTALL MANIFEST MANIFEST.SKIP README TODO \ |