summaryrefslogtreecommitdiff
path: root/perl/perl-gnome2/perl-gnome2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-gnome2/perl-gnome2.SlackBuild')
-rw-r--r--perl/perl-gnome2/perl-gnome2.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/perl/perl-gnome2/perl-gnome2.SlackBuild b/perl/perl-gnome2/perl-gnome2.SlackBuild
index 142a51a9ad..5bd9b8f319 100644
--- a/perl/perl-gnome2/perl-gnome2.SlackBuild
+++ b/perl/perl-gnome2/perl-gnome2.SlackBuild
@@ -21,9 +21,10 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Adopted by Glenn Becker <glenn.becker@gmail.com>
PRGNAM=perl-gnome2
-VERSION=${VERSION:-1.044}
+VERSION=${VERSION:-1.045}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,10 +67,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -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 Makefile.PL \
OPTIMIZE="$SLKCFLAGS" \
@@ -80,7 +81,7 @@ make
make test
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;