diff options
Diffstat (limited to 'desktop/thunar-archive-plugin')
4 files changed, 28 insertions, 18 deletions
diff --git a/desktop/thunar-archive-plugin/README b/desktop/thunar-archive-plugin/README index f91f054204..288bb4c348 100644 --- a/desktop/thunar-archive-plugin/README +++ b/desktop/thunar-archive-plugin/README @@ -1,4 +1,4 @@ -The thunar-archive-plugin is a plugin for the Thunar File Manager, which -adds archive operations to the file context menus. Using this plugin you -will be able to extract and create archive files from within Thunar with -a single click. +The thunar-archive-plugin is a plugin for the Thunar File Manager, +which adds archive operations to the file context menus. Using this +plugin you will be able to extract and create archive files from within +Thunar with a single click. diff --git a/desktop/thunar-archive-plugin/slack-desc b/desktop/thunar-archive-plugin/slack-desc index f5995342bd..08c5d0612d 100644 --- a/desktop/thunar-archive-plugin/slack-desc +++ b/desktop/thunar-archive-plugin/slack-desc @@ -14,6 +14,6 @@ thunar-archive-plugin: file context menus. Using this plugin you will be able thunar-archive-plugin: to extract and create archive files from within Thunar thunar-archive-plugin: with a a single click. thunar-archive-plugin: -thunar-archive-plugin: +thunar-archive-plugin: Homepage: https://docs.xfce.org/xfce/thunar/archive thunar-archive-plugin: thunar-archive-plugin: diff --git a/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild b/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild index fd27c5b191..10efe99d38 100644 --- a/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild +++ b/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for thunar-archive-plugin -# Copyright 2006-2013 Robby Workman, Northport, Alabama, USA +# Copyright 2006-2021 Robby Workman, Tuscaloosa, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,26 +22,36 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=thunar-archive-plugin -VERSION=${VERSION:-0.3.1} +VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -88,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ + AUTHORS COPYING ChangeLog INSTALL NEWS THANKS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -97,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/thunar-archive-plugin/thunar-archive-plugin.info b/desktop/thunar-archive-plugin/thunar-archive-plugin.info index 7181974b68..898d395ad7 100644 --- a/desktop/thunar-archive-plugin/thunar-archive-plugin.info +++ b/desktop/thunar-archive-plugin/thunar-archive-plugin.info @@ -1,8 +1,8 @@ PRGNAM="thunar-archive-plugin" -VERSION="0.3.1" -HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin" -DOWNLOAD="https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.3/thunar-archive-plugin-0.3.1.tar.bz2" -MD5SUM="425f4faaace6dc7a4716a35b7795463a" +VERSION="0.5.0" +HOMEPAGE="https://docs.xfce.org/xfce/thunar/archive" +DOWNLOAD="https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.5/thunar-archive-plugin-0.5.0.tar.bz2" +MD5SUM="4d3c23fb89bb586bc208bf08663e0cbc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="xarchiver" |