aboutsummaryrefslogtreecommitdiff
path: root/graphics/icc_profiles
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-25 14:28:15 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:46 +0700
commit1bb2a805bdc8361f34a79875e97bb4205a1d82a1 (patch)
tree0825ee4888f5977130894613cbd53442157ec4a3 /graphics/icc_profiles
parent2a418ad20c20653893bc8696af94883c72bf7435 (diff)
graphics/icc_profiles: Fix build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/icc_profiles')
-rw-r--r--graphics/icc_profiles/icc_profiles.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/icc_profiles/icc_profiles.SlackBuild b/graphics/icc_profiles/icc_profiles.SlackBuild
index d3557807ac7f5..843c93b25424c 100644
--- a/graphics/icc_profiles/icc_profiles.SlackBuild
+++ b/graphics/icc_profiles/icc_profiles.SlackBuild
@@ -8,6 +8,9 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+# 20220222 bkw: Modified by SlackBuilds.org: don't try to install the
+# nonexisent lecalcode.txt. How did this script ever get past QA?
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=icc_profiles
@@ -21,9 +24,6 @@ PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -39,15 +39,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
unzip $CWD/$PRGNAM.zip
install -d $PKG/usr/share/color/icc/$UNION
-install -m644 "${SRCNAM}"/*.icc \
+install -o root -g root -m644 "${SRCNAM}"/*.icc \
$PKG/usr/share/color/icc/$UNION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/legalcode.txt > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install