Package Details: epubcheck 4.0.2-1

Git Clone URL: (read-only)
Package Base: epubcheck
Description: A tool to validate epub files.
Upstream URL:
Licenses: BSD
Submitter: useradded
Maintainer: useradded
Last Packager: useradded
Votes: 1
Popularity: 0.033974
First Submitted: 2016-05-01 08:51
Last Updated: 2017-01-07 11:55

Latest Comments

useradded commented on 2017-01-07 12:04

Added unzip as a makedepends as tar was having a fit over the .zip file.

useradded commented on 2016-06-13 06:05

@frabjous should be fixed now

frabjous commented on 2016-06-13 01:15

Even when building in a new directory, makepkg fails with:

==> Making package: epubcheck 4.0.1-6 (Sun Jun 12 21:14:05 EDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found epubcheck.1
-> Downloading
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 596 0 596 0 0 5256 0 --:--:-- --:--:-- --:--:-- 5274
100 7731k 100 7731k 0 0 840k 0 0:00:09 0:00:09 --:--:-- 886k
==> Validating source files with md5sums...
epubcheck.1 ... Passed ... Passed
==> Extracting sources...
-> Extracting with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
install: cannot create regular file '/home/me/tmp/epubcheck/pkg/epubcheck/usr/share/man/man1/epubcheck.1': No such file or directory
==> ERROR: A failure occurred in package().

useradded commented on 2016-06-11 08:34

Added a man page.

useradded commented on 2016-06-02 19:20

Further tweaked the PKGBUILD to make it more robust.

frabjous commented on 2016-06-02 13:31

I was using pacaur, but I've been able to do it manually now by creating a new directory. Thanks!

useradded commented on 2016-06-01 15:00


Are you building in an empty directory? I can only recreate your error if I run makepkg a second time in a directory where I've already run makepkg before.

i.e. I download the snapshot to an empty directory, extract, makepkg, and it builds fine. If I then run makepkg *again* (with the -f switch to ignore the already-built package, or after having deleted the package file, I tried both) I get exactly your error.

frabjous commented on 2016-06-01 12:13

For me, makepkg fails with the following error:

-> Extracting with bsdtar
epubcheck-4.0.1/: Can't replace existing directory with non-directory
epubcheck-4.0.1/lib/: Can't replace existing directory with non-directory
epubcheck-4.0.1/licenses/: Can't replace existing directory with non-directory
bsdtar: Error exit delayed from previous errors.

useradded commented on 2016-05-31 16:23

@hlzr Have updated the launcher to explicitly call bash.

I've also tried to bring PKGBUILD more into line with Arch standards for Java packaging as here:

Not sure I fully understand the recommendations, but its a first step.

hlzr commented on 2016-05-29 01:18

Can you please modify the launcher (/usr/bin/epubcheck) to contain a #!/bin/bash for us fish users? :)