You are not logged in.
You can install the game via
yay -S hnefatafl-copenhagenThe game is kind of like Chess or Go and has related versions going back a long time. Once installed, you can find the game under Games from your application menu or run it via hnefatafl-client. The main site is https://hnefatafl.org. Feedback welcome.
Offline
The changelog shows many changes with the same commit message .
example : the last 8 commits all use "Update the AUR package."
The commit message 'Release version 5.3.0-number " which occurs multiple times is equllay bad.
All those commit messages do is inform there have been change but that's already known because there are commits .
Please use commit messages that make clear what changed .
Moderator Note
moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for the note about the commits. I added a commit to explain the latest change with a link to my 'CHANGELOG.md' file.
Last edited by dcampbell24 (2026-07-14 16:48:49)
Offline
provides=("hnefatafl-copenhagen")
conflicts=("hnefatafl-copenhagen")A package always provides itself and a package conflicting with itself makes no sense.
makedepends=("base-devel" "clang" "llvm" "mold" "rustup" "wget")base-devel is an implicit make dependency of every PKGBUILD and should not be specified. Is mold actually being used? Nothing in the PKGBUILD sets that as the linker.
tar -xvzf v$pkgver-$real_pkgrel.tar.gzThis is redundant as makepkg will extract all compressed sources unless they are listed in the noextract array.
sed -i 's/cargo-/arch-/' src/lib.rs;Should probably be in prepare(). Also the cargo package guidelines are not being followed so everything is downloaded in build().
gzip --no-name --best taflzero.1
gzip --no-name --best hnefatafl-server.1
gzip --no-name --best hnefatafl-server-full.1
gzip --no-name --best hnefatafl-text-protocol.1
gzip --no-name --best hnefatafl-client.1makepkg will compress manpages itself so this is redundant?
wget https://codeberg.org/dcampbell/hnefatafl/media/branch/main/default_nn.onnxWhy is the neural network not in the sources array?
Offline
Thanks, fixed.
The file '.cargo/.config.toml' sets mold as the linker.
I don't know how to avoid doing the sed lines that I have. For the first one I want to set the 'SOFTWARE_ID' to be 'arch' instead of 'cargo' and for the next three the hard coded path is wrong because Debian handles packages differently. I am the upstream code creator for this project, so I could change the code if there was a solution.
When I removed the compression of the man pages I could not find the compressed versions.
Offline
I don't know how to avoid doing the sed lines that I have. For the first one I want to set the 'SOFTWARE_ID' to be 'arch' instead of 'cargo' and for the next three the hard coded path is wrong because Debian handles packages differently. I am the upstream code creator for this project, so I could change the code if there was a solution.
Moving them to prepare is what I meant. I should have been clearer about the next bit. Can you not follow Rust package guidelines Prepare at least with respect to having cargo download crates in prepare rather than build.
When I removed the compression of the man pages I could not find the compressed versions.
install -Dm644 "taflzero.1" "$pkgdir/usr/share/man/man1/hnefatafl-ai.1"
install -Dm644 "hnefatafl-client.1" "$pkgdir/usr/share/man/man1/hnefatafl-client.1"
install -Dm644 "hnefatafl-server.1" "$pkgdir/usr/share/man/man1/hnefatafl-server.1"
install -Dm644 "hnefatafl-server-full.1" "$pkgdir/usr/share/man/man1/hnefatafl-server-full.1"
install -Dm644 "hnefatafl-text-protocol.1" "$pkgdir/usr/share/man/man1/hnefatafl-text-protocol.1"For me produces:
hnefatafl-copenhagen /usr/share/man/man1/hnefatafl-ai.1.gz
hnefatafl-copenhagen /usr/share/man/man1/hnefatafl-client.1.gz
hnefatafl-copenhagen /usr/share/man/man1/hnefatafl-server-full.1.gz
hnefatafl-copenhagen /usr/share/man/man1/hnefatafl-server.1.gz
hnefatafl-copenhagen /usr/share/man/man1/hnefatafl-text-protocol.1.gzOffline
Oh Okay, I implemented your suggestions.
Offline
./target/release/examples/taflzero --man --username ""
./target/release/hnefatafl-client --man
./target/release/hnefatafl-server --man
./target/release/hnefatafl-server-full --man
./target/release/hnefatafl-text-protocol --manAre those needed to extract the man pages from the tools ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Yeah, that is using clap_mangen (https://docs.rs/clap_mangen/0.3.0/clap_mangen/#example). Here I am using a flag to generate the man pages. The man pages basically mirror the command line help.
Offline