diff --git a/libraries/sratom/sratom.SlackBuild b/libraries/sratom/sratom.SlackBuild index 5129da7c4e..8610e45df6 100644 --- a/libraries/sratom/sratom.SlackBuild +++ b/libraries/sratom/sratom.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for sratom # Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2020 Matteo Bernardini, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sratom -VERSION=${VERSION:-0.4.6} +VERSION=${VERSION:-0.6.4} 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 @@ -40,8 +41,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" @@ -67,7 +68,7 @@ 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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -87,7 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING NEWS README \ +cp -a COPYING NEWS README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/sratom/sratom.info b/libraries/sratom/sratom.info index c534449740..5f1a1d3782 100644 --- a/libraries/sratom/sratom.info +++ b/libraries/sratom/sratom.info @@ -1,10 +1,10 @@ PRGNAM="sratom" -VERSION="0.4.6" +VERSION="0.6.4" HOMEPAGE="http://drobilla.net/software/sratom/" -DOWNLOAD="http://download.drobilla.net/sratom-0.4.6.tar.bz2" -MD5SUM="5cf28520418779bf41fb14a40fbb20ad" +DOWNLOAD="http://download.drobilla.net/sratom-0.6.4.tar.bz2" +MD5SUM="0d087aa05c7b22d569aacc2fd14f0274" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="lv2 sord" -MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +REQUIRES="lv2" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org"