aboutsummaryrefslogtreecommitdiff
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.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/perl/perl-gnome2/perl-gnome2.SlackBuild b/perl/perl-gnome2/perl-gnome2.SlackBuild
index ea39550cd197..a040dc037972 100644
--- a/perl/perl-gnome2/perl-gnome2.SlackBuild
+++ b/perl/perl-gnome2/perl-gnome2.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-gnome2
-VERSION=${VERSION:-1.042}
+VERSION=${VERSION:-1.044}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,11 +65,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
OPTIMIZE="$SLKCFLAGS" \
@@ -77,9 +77,6 @@ perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-# Fixme: Disabled Icon theme test, it is looking for
-# gnome-unknown icon but can't find it. Is this a bug?
-mv t/GnomeIconTheme.t t/GnomeIconTheme.t.disable
make test
make install DESTDIR=$PKG
@@ -96,7 +93,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog LICENSE NEWS README TODO examples/ \
+cp -a AUTHORS LICENSE NEWS README TODO examples/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild