diff options
author | Didier Spaier <didier.spaier@epsm.fr> | 2014-07-24 16:54:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-26 19:07:54 +0700 |
commit | 0e93162eadba71c5d982a9ae78d26f285fca9009 (patch) | |
tree | 4ef297bd8e90799a6a2b34942e21436b8b275d42 | |
parent | 9a6e986b892470e6290ac80cf393849937133790 (diff) | |
download | slackbuilds-0e93162eadba71c5d982a9ae78d26f285fca9009.tar.gz |
misc/po4a: Fix directory removal.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | misc/po4a/po4a.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild index 2d9fc82c25..7f65abc741 100644 --- a/misc/po4a/po4a.SlackBuild +++ b/misc/po4a/po4a.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=po4a VERSION=${VERSION:-0.45} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -43,7 +43,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/slint} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -74,7 +74,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Build.PL \ prefix=/usr \ @@ -90,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true cp -rf $PKG/usr/share/man $PKG/usr -rm -rf $PKG/usr/share +rm -rf $PKG/usr/share/man 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 |