xap/jsignpdf: Added launcher for the verifying tool

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent 0fc472ccb8
commit 99982ad861
  1. 8
      xap/jsignpdf/jsignpdf.SlackBuild

@ -33,7 +33,7 @@ WGET=${WGET:-http://download.sourceforge.net/jsignpdf/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jsignpdf}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-noarch}
EXT=${EXT:-txz}
@ -73,7 +73,11 @@ cat > $PKG/usr/bin/jsignpdf <<EOF
#!/bin/sh
java -jar /usr/lib/jsignpdf/JSignPdf.jar "\$@"
EOF
chmod 755 $PKG/usr/bin/jsignpdf
cat > $PKG/usr/bin/jsignpdf-verify <<EOF
#!/bin/sh
java -jar /usr/lib/jsignpdf/Verifier.jar "\$@"
EOF
chmod 755 $PKG/usr/bin/jsignpdf $PKG/usr/bin/jsignpdf-verify
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save