summaryrefslogtreecommitdiffstats
path: root/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild')
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
index 4834215d84..7f4ea08ba7 100644
--- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
+++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gimp-plugin-export-layers
-# Copyright 2018, Andrew Strong, Blue Mountains, Australia.
+# Copyright 2018 - 2019 Andrew Strong, Blue Mountains, Australia.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gimp-plugin-export-layers
-VERSION=${VERSION:-3.2.1}
+VERSION=${VERSION:-3.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,19 @@ find -L . \
find -L . -type f ! -name '*.py' -exec chmod 644 {} \;
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
+# The directory structure is 'doubled up' to avoid having 2 files: Readme.html
+# and export_layers.py sitting in the root directory of the Gimp plugins:
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/export_layers
+
# Several 'zero length' files are added to the package which makepkg will complain
# about later but I believe that all are actually required:
-cp -a export_layers.py export_layers $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
+cp -a export_layers.py export_layers Readme.html \
+ $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/export_layers
+# Little in the way of docs to add here as the HTML docs are intended to
+# be opened from within Gimp. They can still be read without Gimp being open by
+# reading: /usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/export_layers/Readme.html
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Readme.html $PKG/usr/doc/$PRGNAM-$VERSION
-ln -s /usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/export_layers/docs \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install