Package Details: wakatime 2.22.2-1

Git Clone URL: https://aur.archlinux.org/wakatime.git (read-only, click to copy)
Package Base: wakatime
Description: Command line interface used by all WakaTime text editor plugins
Upstream URL: https://github.com/wakatime/wakatime-cli
Licenses: BSD-3-Clause
Submitter: arojas
Maintainer: Glucy2
Last Packager: Glucy2
Votes: 4
Popularity: 0.57
First Submitted: 2026-04-06 19:25 (UTC)
Last Updated: 2026-07-19 09:19 (UTC)

Latest Comments

marmis commented on 2026-07-01 04:07 (UTC) (edited on 2026-07-09 22:43 (UTC) by marmis)

Hi, could you please add support for debug packages as per the Go package guidelines? Also, stripping with makepkg leads to smaller binaries than with -trimpath.

According to my tests, the following changes are enough. Thanks!

improve-debug-package.patch
diff --git a/PKGBUILD b/PKGBUILD
index 49f26eb..cb062e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,13 +42,13 @@ build() {
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export CGO_LDFLAGS="${LDFLAGS}"
+  export GOPATH="${srcdir}"

   go build -o build/$pkgname \
-    -trimpath \
     -buildmode=pie \
     -mod=readonly \
     -modcacherw \
-    -ldflags "-linkmode external -extldflags '${LDFLAGS}' -X '${_repo}/pkg/version.OS=linux' -X '${_repo}/pkg/version.Arch=amd64' -X '${_repo}/pkg/version.BuildDate=${_date}' -X '${_repo}/pkg/version.Commit=${_commit}' -X '${_repo}/pkg/version.Version=${pkgver}'"
+    -ldflags "-compressdwarf=false -linkmode external -extldflags '${LDFLAGS}' -X '${_repo}/pkg/version.OS=linux' -X '${_repo}/pkg/version.Arch=amd64' -X '${_repo}/pkg/version.BuildDate=${_date}' -X '${_repo}/pkg/version.Commit=${_commit}' -X '${_repo}/pkg/version.Version=${pkgver}'"
 }

 package() {

Kamack38 commented on 2026-04-20 17:50 (UTC)

This package is also missing download links for other architectures.

Xerxes_2 commented on 2026-04-17 04:50 (UTC) (edited on 2026-04-17 06:17 (UTC) by Xerxes_2)

https://github.com/wakatime/wakatime-cli/releases/tag/v2.3.1

Newest version is 2.3.1