diff options
Diffstat (limited to 'libraries/libgksu/libgksu.SlackBuild')
-rw-r--r-- | libraries/libgksu/libgksu.SlackBuild | 20 |
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 \ |