Package Details: amfora 1.5.0-2

Git Clone URL: (read-only, click to copy)
Package Base: amfora
Description: A fancy terminal browser for the Gemini protocol
Upstream URL:
Licenses: GPL3
Submitter: pboyd
Maintainer: pboyd (makeworld)
Last Packager: pboyd
Votes: 4
Popularity: 2.72
First Submitted: 2020-08-01 11:21
Last Updated: 2020-09-23 10:49

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

makeworld commented on 2020-09-05 00:52

Thanks for adding builtBy!

As for commits, I would just set it manually, since updates aren't happening every day. For example, the commit hash for the v1.5.0 tag is 922e7981a92cb7bf0d7b3baf1694d0fffe90d448. This can easily be found on GitHub. Just make sure you use the full commit hash, as this is what the Makefile and official binaries do for now. Thanks.

pboyd commented on 2020-09-03 01:47

Setting builtBy is simple enough, I pushed an update with that. Looks like version is set in the code, so I didn't include it.

The git commit is a bit tricky. I'm building from the source archive, so I don't have a git checkout with the version. I assume those archives are built automatically, is there a way to put a file with that info in the archive?

makeworld commented on 2020-09-02 15:37

Amfora now has a Makefile. You might want to use that, but if not, incorporating the new build variables would be preferred, so that the output of amfora -v specifies the correct tag, commit and who built the binary. I think builtBy=amfora-AUR might be a good value for that var, to differentiate between potential other packages in the future, like amfora-git.


Full -ldflags should be something like:

-ldflags="-s -w -X main.version=VERSION_HERE -X main.commit=LONG_COMMIT_HERE -X main.builtBy=AUR-amfora"

pboyd commented on 2020-08-03 15:29

Thanks for making Amfora!

Git is just a build dependency, it's so go mod can do it's thing.

I'll add the desktop entry when I get a chance (probably this evening).

makeworld commented on 2020-08-03 15:16

Also, if you could also install the desktop entry file as described in the README that would be great. That would require adding desktop-file-utils as an optional dependency.

makeworld commented on 2020-08-03 15:14

Hello, I'm the Amfora developer. Thanks for creating and maintaining this package! I'll add it to the README. I do have a question though - why is Git a dependency?