summaryrefslogtreecommitdiff
path: root/misc/ardesia/ardesia.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-04 00:52:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit641fb6465362f35b2a546ce8a024f27cb90d7153 (patch)
treecd25ff11f9ea884a2ec52749a903809e26382c65 /misc/ardesia/ardesia.SlackBuild
parent1d2ae666b1b35a5a297eba9fd03b454b70b9806a (diff)
downloadslackbuilds-641fb6465362f35b2a546ce8a024f27cb90d7153.tar.gz
misc/ardesia: Fix GTK3 test.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/ardesia/ardesia.SlackBuild')
-rw-r--r--misc/ardesia/ardesia.SlackBuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/misc/ardesia/ardesia.SlackBuild b/misc/ardesia/ardesia.SlackBuild
index a5f1ae307a..6deaea9724 100644
--- a/misc/ardesia/ardesia.SlackBuild
+++ b/misc/ardesia/ardesia.SlackBuild
@@ -47,20 +47,15 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-# If you are going to blindly reset permissions, this is a bit more readable.
-# However '-perm /111' may only be compatible with only gnu/find.
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 {} \;
-
-# Note, while there are no library files installed, the Make file apparently
-# uses --libdir to decided where to find some of the libraries.
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
@@ -78,11 +73,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
# --docdir is not respected and does not install all of the standard document files
# Alternate Fail safe to the standard.
-# if [ -d $PKG/usr/share/doc/ ]; then mv $PKG/usr/share/doc/ $PKG/usr/doc/; fi
-# if [ -d $PKG/usr/doc/$PRGNAM ]; then rename $PRGNAM $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION; fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install