summaryrefslogtreecommitdiff
path: root/system/file-roller/file-roller.SlackBuild
diff options
context:
space:
mode:
authorFrank Endres <frank.endres@sud-ouest.org>2017-05-11 22:20:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-13 06:59:33 +0700
commit1d14fc3cfad5733683da4c12fffeaa76f493c664 (patch)
tree5fc1bfb559fd64e4ea5388af8b157d7ec0949d30 /system/file-roller/file-roller.SlackBuild
parente61e90de2e3b5986d5c62e56e08c2bedaaa5089e (diff)
downloadslackbuilds-1d14fc3cfad5733683da4c12fffeaa76f493c664.tar.gz
system/file-roller: Updated for version 3.24.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/file-roller/file-roller.SlackBuild')
-rw-r--r--system/file-roller/file-roller.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/file-roller/file-roller.SlackBuild b/system/file-roller/file-roller.SlackBuild
index 3681bd406f..1894ba77d6 100644
--- a/system/file-roller/file-roller.SlackBuild
+++ b/system/file-roller/file-roller.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for file-roller
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Frank Endres | frank.endres@sud-ouest.org
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
@@ -25,13 +26,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=file-roller
-VERSION=${VERSION:-2.32.2}
+VERSION=${VERSION:-3.24.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,21 +82,20 @@ CFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--localedir=/usr/share/locale \
- --disable-scrollkeeper \
- --with-gtk=2.0 \
--disable-static \
- --enable-shared \
--build=$ARCH-slackware-linux
make V=1
make install DESTDIR=$PKG
+#won't work with thunar archive-plugin without renaming desktop file:
+mv $PKG/usr/share/applications/org.gnome.FileRoller.desktop $PKG/usr/share/applications/file-roller.desktop
+
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install