development/tklib: Set correct permission.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-10-19 11:37:40 +07:00
parent 3de8201924
commit 3e8ddd3c62

View file

@ -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