diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2023-11-10 07:42:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-11 08:07:55 +0700 |
commit | 37a05d07741808d2494ac45e17e8e820c721b17f (patch) | |
tree | 5fd282ba6bdefa41252b789303c03042256f6e8e /python | |
parent | 213f12006da7075839e0b37ed9612b97ff1ed727 (diff) |
python/python3-pdfCropMargins: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild b/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild index e44f663ad460..4ce4e1ee202e 100644 --- a/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild +++ b/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild @@ -68,6 +68,9 @@ python3 setup.py install --root=$PKG 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 +rm -f $PKG/usr/bin/pdf-crop-margins +ln -s pdfcropmargins $PKG/usr/bin/pdf-crop-margins + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |