diff options
author | pomfland <pomfland@tfwno.gf> | 2020-02-08 01:46:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-08 01:46:33 +0700 |
commit | a96c2c7095734410a43c557d7dcc1ba56dd2fb97 (patch) | |
tree | 6ac8899aa541a4cde14db0538ecdbd8f3582bb89 /system/fatsort | |
parent | 68ff332a020a00dfbc2bd8a4bfd055debe5c952d (diff) | |
download | slackbuilds-a96c2c7095734410a43c557d7dcc1ba56dd2fb97.tar.gz |
system/fatsort: Updated for version 1.6.2.605.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fatsort')
-rw-r--r-- | system/fatsort/fatsort.SlackBuild | 39 | ||||
-rw-r--r-- | system/fatsort/fatsort.info | 6 |
2 files changed, 22 insertions, 23 deletions
diff --git a/system/fatsort/fatsort.SlackBuild b/system/fatsort/fatsort.SlackBuild index ac2e5e8cea..430da431ec 100644 --- a/system/fatsort/fatsort.SlackBuild +++ b/system/fatsort/fatsort.SlackBuild @@ -1,9 +1,8 @@ #!/bin/sh # Slackware build script for fatsort -# $Id: fatsort.SlackBuild,v 1.1 2018/08/03 07:22:48 pomf Exp pomf $ -# Copyright 2018 pomfland +# Copyright 2020 pomfland # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,16 +23,16 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fatsort -VERSION=${VERSION:-1.4.2.439} +VERSION=${VERSION:-1.6.2.605} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then - case "$( uname -m )" in +case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac + *) ARCH=$( uname -m ) ;; +esac fi CWD=$(pwd) @@ -42,17 +41,17 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" +SLKCFLAGS="-O2 -march=i586 -mtune=i686" +LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" +SLKCFLAGS="-O2 -march=i686 -mtune=i686" +LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" +SLKCFLAGS="-O2 -fPIC" +LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" +SLKCFLAGS="-O2" +LIBDIRSUFFIX="" fi set -e @@ -65,16 +64,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz 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 640 -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 {} \; -CFLAGS="$SLKCFLAGS" make +make make install DESTDIR=$PKG MANDIR=/usr/man/man1 SBINDIR=/usr/sbin 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 +| 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 diff --git a/system/fatsort/fatsort.info b/system/fatsort/fatsort.info index 6201b038c7..4500153440 100644 --- a/system/fatsort/fatsort.info +++ b/system/fatsort/fatsort.info @@ -1,8 +1,8 @@ PRGNAM="fatsort" -VERSION="1.4.2.439" +VERSION="1.6.2.605" HOMEPAGE="https://fatsort.sourceforge.io/" -DOWNLOAD="https://sourceforge.net/projects/fatsort/files/fatsort-1.4.2.439.tar.xz" -MD5SUM="0ca483918bd12339653c4563e11ef20a" +DOWNLOAD="https://sourceforge.net/projects/fatsort/files/fatsort-1.6.2.605.tar.xz" +MD5SUM="e3ef708dcdfff60e81db957f6ac30f5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |