Package Details: anki-release-source 2.1.44-4

Git Clone URL: (read-only, click to copy)
Package Base: anki-release-source
Description: The latest release building from source locally
Upstream URL:
Licenses: AGPL3
Conflicts: anki, anki-git, anki-official-binary-bundle, anki20
Provides: anki
Submitter: grawlinson
Maintainer: AlexBocken
Last Packager: AlexBocken
Votes: 4
Popularity: 2.96
First Submitted: 2021-05-30 20:24
Last Updated: 2021-07-28 13:14

Latest Comments

AlexBocken commented on 2021-07-28 13:21

@cobaltspace thanks for the idea and detailed write-up! Definitely seems like a good idea which is easy to maintain. I've added it to the package.

cobaltspace commented on 2021-07-28 05:32

Update checking should probably be patched out.


--- a/qt/aqt/
+++ b/qt/aqt/
@@ -34,6 +34,8 @@

     def run(self) -> None:
+        return
         if not self.config["updates"]:
         d = self._data()

addition to PKGBUILD:

prepare() {
    cd "anki-$pkgver"

    patch -p1 < "$srcdir/no-update.patch"

also add no-update.patch to PKGBUILD's source array

AlexBocken commented on 2021-07-12 08:09

@nagi12147 Thanks for the error reporting! Seems like community/bazel got updated. Anki still wants bazel 4.0.0 though.

Currently there is no bazel 4.0.0 package in the AUR but I'm thinking about maybe adding one. In the meantime you can download an appropriate bazel binary from the given URL.

(for x86_64 Linux: )

mv it somewhere like /usr/local/bin/bazel (don't forget to chmod +xbeforehand) and the install process should work again.


This package now uses AUR/bazel40-bin to compile since community/bazel has moved to 4.1.0 but anki requires 4.0.0 Thanks again to @nagi12147 for the error report.

nagi12147 commented on 2021-07-11 21:15

ERROR: The project you're trying to build requires Bazel 4.0.0 (specified in /home/julian/.cache/paru/clone/anki-release-source/src/anki-2.1.44/.bazelversion), but it wasn't found in /usr/bin.

Bazel binaries for all official releases can be downloaded from here:

Please put the downloaded Bazel binary into this location:
==> ERROR: A failure occurred in build().
error: failed to build 'anki-release-source-2.1.44-2':
error: packages failed to buid: anki-release-source-2.1.44-2