aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-19 11:37:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-19 11:43:48 +0700
commit3e8ddd3c62196282e1090ee36716b0db713e0a73 (patch)
tree00e1a4e5b4f48f8ab8fdff69871a4b0f58238ee8
parent3de8201924bf675f762f885f89b1ee54c860e0d0 (diff)
development/tklib: Set correct permission.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/tklib/tklib.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/tklib/tklib.SlackBuild b/development/tklib/tklib.SlackBuild
index 97e3b6bef2157..1d430b2d80dc9 100644
--- a/development/tklib/tklib.SlackBuild
+++ b/development/tklib/tklib.SlackBuild
@@ -82,6 +82,8 @@ make install DESTDIR=$PKG
# Thanks to samtux on libera #slackbuilds for finding this issue.
rm -f $PKG/usr/bin/dia
+chmod +x $PKG/usr/bin/bitmap-editor
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -89,7 +91,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog DESCRIPTION.txt README INSTALL.txt \
+cp -a ChangeLog DESCRIPTION.txt README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild