Browse Source

ap/epubcheck: Added epubcheck-4.2.2.

current-20191101
parent
commit
966829e1cb
  1. 1
      ap/epubcheck/epubcheck-4.0.1.zip.sha1
  2. 1
      ap/epubcheck/epubcheck-4.2.2.zip.sha256
  3. 8
      ap/epubcheck/epubcheck.SlackBuild

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

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

1
ap/epubcheck/epubcheck-4.2.2.zip.sha256

@ -0,0 +1 @@
029ee9cda237a42e0d4c1a2b8771a440a4a6326449db843510b16a3c61045463 epubcheck-4.2.2.zip

8
ap/epubcheck/epubcheck.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2016 Damien Goutte-Gattat
# Copyright (C) 2014,2016,2019 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:-4.0.1}
VERSION=${VERSION:-4.2.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
WGET=${WGET:-https://github.com/IDPF/epubcheck/releases/download/v$VERSION/$ARCHIVE}
@ -60,7 +60,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$NAMESRC-$VERSION
# Install
@ -83,7 +83,7 @@ chmod 755 $PKG/usr/bin/epubcheck
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING.txt README.txt THIRD-PARTY.txt $PKG/usr/doc/$NAME
install -m 644 CHANGELOG.txt LICENSE.txt README.txt THIRD-PARTY.txt $PKG/usr/doc/$NAME
cp -r licenses $PKG/usr/doc/$NAME/licenses
# Copy slack-desc file

Loading…
Cancel
Save