Package Details: kepubify 4.0.4-2

Git Clone URL: https://aur.archlinux.org/kepubify.git (read-only, click to copy)
Package Base: kepubify
Description: Convert your ePubs into kepubs, with a easy-to-use command-line tool
Upstream URL: https://pgaskin.net/kepubify/
Licenses: MIT
Conflicts: kepubify-bin
Submitter: SibrenVasse
Maintainer: SibrenVasse
Last Packager: SibrenVasse
Votes: 5
Popularity: 0.000000
First Submitted: 2020-04-01 14:19 (UTC)
Last Updated: 2022-06-04 13:36 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

parcimonic commented on 2022-05-21 21:11 (UTC)

Solved after removing the $LDFLAGS option:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ build() {
     -buildmode=pie \
     -mod=readonly \
     -modcacherw \
-    -ldflags "-extldflags $LDFLAGS -X main.version=$pkgver" \
+    -ldflags "-X main.version=$pkgver" \
     -o $pkgname \
     github.com/pgaskin/kepubify/v4/cmd/kepubify/

(same for covergen and seriesmeta).

I guess this is related to this line of makepkg.conf?

parcimonic commented on 2022-05-02 00:43 (UTC)

Build is failing for me:

...
==> Extracting sources...
  -> Extracting v4.0.4.tar.gz with bsdtar
==> Starting build()...
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/beevik/etree v1.1.0
go: downloading github.com/kr/smartypants v0.1.0
go: downloading github.com/pgaskin/kepubify/_/html v0.0.0-20211223234002-6ee2cc632cdc
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading golang.org/x/text v0.3.6
# github.com/pgaskin/kepubify/v4/cmd/kepubify
flag provided but not defined: -flto
usage: link [options] main.o
  -B note
        add an ELF NT_GNU_BUILD_ID note when using ELF
  -E entry
        set entry symbol name
... (and so on)
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check <build-dir>

SibrenVasse commented on 2021-07-04 10:21 (UTC)

pgaskin: done, thank you for notifying me.

pgaskin commented on 2021-07-04 05:00 (UTC)

Can you add "-tags zip117" to the cmd/kepubify build options to match the release builds? It results in a significant performance improvement on Go 1.16 by using archive/zip backported from Go 1.17.

SibrenVasse commented on 2020-07-02 19:12 (UTC)

h7x4: done

h7x4 commented on 2020-07-02 18:17 (UTC)

Could you add 'go' as a dependency?

pgaskin commented on 2020-04-01 18:57 (UTC) (edited on 2020-04-01 18:58 (UTC) by pgaskin)

You might want to build covergen as well. Also, could you add "-X main.version=${pkgver}" to the ldflags, please?