summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-12-05 18:18:16 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:46 +0700
commitf5366547875bd4fa6d6e4b6fdf0c685c00dcb613 (patch)
treeb6e0b659be37c5d440d2185a1bda85927787224c /graphics
parent43652999ba8fdc4aeaaa20c0af05e5d72e4a553f (diff)
downloadslackbuilds-f5366547875bd4fa6d6e4b6fdf0c685c00dcb613.tar.gz
graphics/gimp-feca_hdr-plugin: Updated for version 2018.07.28.
Thanks to fal7i for the update hints Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild22
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info6
2 files changed, 9 insertions, 19 deletions
diff --git a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
index 251b86aefc..4e5e8dbd33 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
@@ -7,7 +7,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gimp-feca_hdr-plugin
-VERSION=${VERSION:-2010.04.26}
+VERSION=${VERSION:-2018.07.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -32,8 +32,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"
@@ -49,19 +49,9 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/feca_hdr.py.zip
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
-mv feca_hdr.py $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
-cd $PKG
-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 {} \;
+mkdir -p $PKG $OUTPUT
+install -D -m 0755 $CWD/feca_hdr.py $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/feca_hdr.py
+chown -R root:root $PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info
index 2212e11cca..a1f3584711 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="gimp-feca_hdr-plugin"
-VERSION="2010.04.26"
+VERSION="2018.07.28"
HOMEPAGE="http://registry.gimp.org/node/24310"
-DOWNLOAD="http://registry.gimp.org/files/feca_hdr.py.zip"
-MD5SUM="248d1995a54bf77924520f6a81b524b8"
+DOWNLOAD="https://gist.githubusercontent.com/rlee287/52034fd80e4e0f07fd570f2315341bd4/raw/0ce2f54888f3e0f7b8bf8ab3accdd3cd0c44ab36/feca_hdr.py"
+MD5SUM="164a01c73fa9c8ae765c9d112124a91c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""