Browse Source

ap/epubcheck: Upgraded to epubcheck-4.0.1.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
c8fdcb8b77
  1. 1
      ap/epubcheck/epubcheck-3.0.1.zip.sha1
  2. 1
      ap/epubcheck/epubcheck-4.0.1.zip.sha1
  3. 8
      ap/epubcheck/epubcheck.SlackBuild

1
ap/epubcheck/epubcheck-3.0.1.zip.sha1

@ -1 +0,0 @@
80a61fb2817ec547d292362793da5b91dbef92e3 epubcheck-3.0.1.zip

1
ap/epubcheck/epubcheck-4.0.1.zip.sha1

@ -0,0 +1 @@
194afa457f8eaea398aa7deb2f471c3ba39af816 epubcheck-4.0.1.zip

8
ap/epubcheck/epubcheck.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014 Damien Goutte-Gattat
# Copyright (C) 2014,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-epubcheck}
VERSION=${VERSION:-3.0.1}
VERSION=${VERSION:-4.0.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
WGET=${WGET:-https://github.com/IDPF/epubcheck/releases/download/v$VERSION/$ARCHIVE}
@ -70,14 +70,14 @@ unzip $CWD/$ARCHIVE
cd $NAME
chmod 755 lib licenses
mkdir -p $PKG/usr/lib/epubcheck
install -m 644 epubcheck-$VERSION.jar $PKG/usr/lib/epubcheck/
install -m 644 epubcheck.jar $PKG/usr/lib/epubcheck/
cp -r lib $PKG/usr/lib/epubcheck/lib
# Install launch script
mkdir -p $PKG/usr/bin
cat > $PKG/usr/bin/epubcheck <<EOF
#!/bin/sh
exec java -jar /usr/lib/epubcheck/epubcheck-$VERSION.jar "\$@"
exec java -jar /usr/lib/epubcheck/epubcheck.jar "\$@"
EOF
chmod 755 $PKG/usr/bin/epubcheck

Loading…
Cancel
Save