summaryrefslogtreecommitdiff
path: root/libraries/libgksu/libgksu.SlackBuild
diff options
context:
space:
mode:
authormancha <mancha1@hush.com>2014-02-14 10:33:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-15 16:50:09 +0700
commit146191edd7d66882d2602c5a69291874ef6a67e2 (patch)
tree45f8aff53ffd31cd324e34ce02b89e2e1b84e51c /libraries/libgksu/libgksu.SlackBuild
parent151bb0dba258eb7708fe1f556d69c18434cc0ba7 (diff)
downloadslackbuilds-146191edd7d66882d2602c5a69291874ef6a67e2.tar.gz
libraries/libgksu: Fixed helper path on x86_64 + Compress manual.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgksu/libgksu.SlackBuild')
-rw-r--r--libraries/libgksu/libgksu.SlackBuild20
1 files changed, 14 insertions, 6 deletions
diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild
index 105711ab39..6d61b3fa2e 100644
--- a/libraries/libgksu/libgksu.SlackBuild
+++ b/libraries/libgksu/libgksu.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=libgksu
VERSION=${VERSION:-2.0.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,10 +65,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$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 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# Patches from gentoo.
patch -p1 < $CWD/patches/libgksu-2.0.0-fbsd.patch
@@ -79,6 +79,11 @@ patch -p0 < $CWD/patches/libgksu-2.0.12-fix-make-3.82.patch
patch -p1 < $CWD/patches/libgksu-2.0.12-notests.patch
patch -p1 < $CWD/patches/libgksu-2.0.12-automake-1.11.2.patch
+# Patch from mancha
+if [ "$ARCH" = "x86_64" ]; then
+ patch -p1 < $CWD/patches/libgksu-2.0.12-x86_64-path.diff
+fi
+
touch NEWS README
libtoolize --force --copy --install
autoreconf
@@ -101,9 +106,12 @@ make install DESTDIR=$PKG
mkdir -p $PKG/etc/gconf/gconf.xml.defaults
-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 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
INSTALL ChangeLog COPYING AUTHORS ABOUT-NLS \