Package Details: anki-git r11894.f927aa578-1

Git Clone URL: https://aur.archlinux.org/anki-git.git (read-only, click to copy)
Package Base: anki-git
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://github.com/ankitects/anki
Keywords: anki memorise memory study
Licenses: AGPL-3.0-or-later
Conflicts: anki, anki-bin, anki-official-binary-bundle, anki20
Provides: anki
Submitter: degeberg
Maintainer: blackthorne
Last Packager: blackthorne
Votes: 25
Popularity: 0.000000
First Submitted: 2017-02-12 11:51 (UTC)
Last Updated: 2025-07-07 06:18 (UTC)

Pinned Comments

blackthorne commented on 2025-05-09 19:48 (UTC)

the PKGBUILD should be compiling now. if not, please let me know. i'll try and clean up the PKGBUILD soon, try and get rid of the AUR dependency, compiler optimization flags, etc.

@hmry thanks for the rust-clang-linking fix.

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 Next › Last »

MartinX3 commented on 2021-04-29 11:22 (UTC)

@homocomputeris

I can't reproduce it. It works here.

Is there any package missing in the dependencies which isn't installed on your system? https://github.com/ankitects/anki/blob/main/docs/development.md

homocomputeris commented on 2021-04-26 20:00 (UTC)

Fails to build:

build()...
FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH.

because

(Arch does not use JAVA_HOME, it uses archlinux-java to set the /usr/bin/java symlink).

MarkWalters.dev commented on 2021-03-12 17:40 (UTC)

Just a FYI, in case anyone else gets this problem. ERROR: Cannot install aqt 2.1.41 (<snip>) and aqt 2.1.43 (<snip>) because these package versions have conflicting dependencies. Tried manual makepkg and removed aqt-2.1.41-py3-none-any.whl in src after a failed build. Same problem. Then tried the dreaded rm -rf ~/.cache/bazel so it would redownload all 3.6G worth of the redundant build files. Which allowed it to install. Then when I run anki I got: Qt warning: Could not find the Qt platform plugin "xcb" in "" That error was fixed with a pacman -Syyu https://pastebin.com/C8cPhnV5

MartinX3 commented on 2021-03-01 11:51 (UTC)

@lmat that looks like a download error Maybe your internet or their download server has a bug.

lmat commented on 2021-02-28 21:35 (UTC)

Fails to fetch pyqt5 with the following error: https://paste.rs/VnP

I have python-pyqt5 installed, but it looks like bezel wants its own copy?

MartinX3 commented on 2021-02-25 13:39 (UTC)

You're welcome. :)

Rumpelstilzchen commented on 2021-02-25 13:35 (UTC)

Great! Thanks for maintaining the package :-)

MartinX3 commented on 2021-02-25 11:27 (UTC)

@Rumpelstilzchen Thank you :) I hope it is now fixed for everyone! :D

Rumpelstilzchen commented on 2021-02-24 18:10 (UTC)

Correct me if I’m wrong, but I think the paths of the three install commands in package() are outdated. Instead of

install -Dm755 qt/runanki "$pkgdir"/usr/bin/anki
install -Dm644 qt/anki.desktop "$pkgdir"/usr/share/applications/anki.desktop
install -Dm644 qt/anki.png "$pkgdir"/usr/share/pixmaps/anki.png

one should have

install -Dm755 qt/runanki.py "$pkgdir"/usr/bin/anki
install -Dm644 qt/linux/anki.desktop "$pkgdir"/usr/share/applications/anki.desktop
install -Dm644 qt/linux/anki.png "$pkgdir"/usr/share/pixmaps/anki.png

Without changing them I get the same problem as @MartinX3, while with the new paths the package seems to install fine.

MartinX3 commented on 2021-01-02 11:40 (UTC) (edited on 2021-01-02 11:40 (UTC) by MartinX3)

Ah, now I can finally compile it on my laptop as well

Sadly it stops now with

==> Beginne package()...
Processing ./bazel-bin/pylib/anki/anki-2.1.39-cp38-abi3-manylinux2014_x86_64.whl
Processing ./bazel-bin/qt/aqt/aqt-2.1.39-py3-none-any.whl
Installing collected packages: anki, aqt
  WARNING: The script anki is installed in '/tmp/makepkg/anki-git/pkg/anki-git/usr/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed anki-2.1.39 aqt-2.1.39
install: der Aufruf von stat für 'qt/runanki' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
==> FEHLER: Ein Fehler geschah in package().
    Breche ab...