Package Details: traggo-bin 0.3.0-6

Git Clone URL: https://aur.archlinux.org/traggo-bin.git (read-only, click to copy)
Package Base: traggo-bin
Description: self-hosted tag-based time tracking
Upstream URL: https://github.com/traggo/server
Licenses: GPL
Submitter: wansing
Maintainer: wansing
Last Packager: wansing
Votes: 0
Popularity: 0.000000
First Submitted: 2023-08-10 08:27 (UTC)
Last Updated: 2024-02-13 14:08 (UTC)

Latest Comments

AlphaJack commented on 2024-01-21 23:09 (UTC)

It works wonderfully now!

wansing commented on 2024-01-21 19:05 (UTC)

Done, and tested with CARCH=aarch64 makepkg and CARCH=armv7h makepkg. Let me know if it works or if I have overlooked anything else :-)

AlphaJack commented on 2024-01-21 16:22 (UTC)

Unfortunately, I see the executable embeds the architecture in the extracted file name, and in package() there is only a reference to amd64. I would suggest the following:

case "$CARCH" in:
 "x86_64") _binary="amd64";;
 "aarch64") _binary="arm64";;
 "armv7h") _binary="arm-7";;
 *) echo "Unsupported architecture" && exit 1;;
esac
install -Dm755 traggo-server-${pkgver}-linux-${_binary} "$pkgdir"/usr/bin/traggo-server

wansing commented on 2024-01-21 15:40 (UTC)

Nice idea, I have added them!

AlphaJack commented on 2024-01-21 15:26 (UTC)

You are welcome, thank you for the quick fix!

I noticed that the package also supports aarch64 (the arm64 zip) and armv7h (the arm-7 zip) architectures, can you add support for them?

This would mean moving the architecture-depended archives in a dedicated source_x86_64=() array and creating a dedicated sha256sums_x86_64=() array, while keeping common files in the source=() and sha256sums=() arrays, like this: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=olivetin-bin

wansing commented on 2024-01-21 15:09 (UTC)

Thank you very much for the report. It is fixed now.

AlphaJack commented on 2024-01-11 00:40 (UTC)

Hi, can you remove "../" from the paths in package()? The files are at the same level of the extracted traggo-server-0.3.0-linux-amd64

==> Starting package()...
install: cannot stat '../server.ini': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: traggo-bin-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
traggo-bin - exit status 4