aboutsummaryrefslogtreecommitdiff
path: root/multimedia/flowblade/flowblade.SlackBuild
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2017-11-03 21:56:25 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-03 23:18:37 +0000
commitd7a1be93351cba0a2bec8683d904484c8c4c64ea (patch)
tree25f3e0bf35a35a84bfecac6c250e2269486e40c6 /multimedia/flowblade/flowblade.SlackBuild
parentd4460393ce13da7fe7372a5da0cd6c6eadc82b8e (diff)
multimedia/flowblade: Updated for version 1.14.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/flowblade/flowblade.SlackBuild')
-rw-r--r--multimedia/flowblade/flowblade.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/multimedia/flowblade/flowblade.SlackBuild b/multimedia/flowblade/flowblade.SlackBuild
index acf694e300021..0d7e0d7797d97 100644
--- a/multimedia/flowblade/flowblade.SlackBuild
+++ b/multimedia/flowblade/flowblade.SlackBuild
@@ -9,13 +9,13 @@
# without any warranty.
PRGNAM=flowblade
-VERSION=${VERSION:-1.12.2}
+VERSION=${VERSION:-1.14}
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
@@ -26,8 +26,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"
@@ -52,15 +52,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION/$PRGNAM-trunk
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 {} \;
# install
python setup.py install --root=$PKG
-# fix a path in the main script
+# replace PY path in main script
sed -i "s|/usr/share/pyshared|$PYTHONDIR|" $PKG/usr/bin/$PRGNAM
# remove unnecessary files