diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 11 deletions
@@ -1,19 +1,20 @@ | |||
1 | pkgbase = anki-official-binary-bundle | 1 | pkgbase = anki-official-binary-bundle |
2 | pkgdesc = The official binary shipped with the tested versions of the dependent libraries. | 2 | pkgdesc = The official binary shipped with the tested versions of the dependent libraries. |
3 | pkgver = 2.1.58 | 3 | pkgver = 2.1.60 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://apps.ankiweb.net | 5 | url = https://github.com/ankitects/anki |
6 | install = anki-official-binary-bundle.install | 6 | install = anki-official-binary-bundle.install |
7 | arch = x86_64 | 7 | arch = x86_64 |
8 | license = GNU AGPL | 8 | license = AGPL |
9 | depends = libxkbcommon-x11 | 9 | depends = libxkbcommon-x11 |
10 | optdepends = mpv | 10 | optdepends = mpv |
11 | provides = anki | 11 | provides = anki |
12 | conflicts = anki | 12 | conflicts = anki |
13 | conflicts = anki-bin | ||
13 | conflicts = anki-git | 14 | conflicts = anki-git |
14 | source = https://github.com/ankitects/anki/releases/download/2.1.58/anki-2.1.58-linux-qt6.tar.zst | 15 | source = https://github.com/ankitects/anki/releases/download/2.1.60/anki-2.1.60-linux-qt6.tar.zst |
15 | source = install_sh.patch | 16 | source = install_sh.patch |
16 | sha256sums = f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56 | 17 | sha256sums = 21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35 |
17 | sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c | 18 | sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c |
18 | 19 | ||
19 | pkgname = anki-official-binary-bundle | 20 | pkgname = anki-official-binary-bundle |
@@ -3,7 +3,8 @@ | |||
3 | 3 | ||
4 | 4 | ||
5 | pkgname=anki-official-binary-bundle | 5 | pkgname=anki-official-binary-bundle |
6 | pkgver=2.1.58 | 6 | pkgver=2.1.60 |
7 | _pkgname="anki-$pkgver-linux-qt6" | ||
7 | pkgrel=1 | 8 | pkgrel=1 |
8 | epoch= | 9 | epoch= |
9 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." | 10 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." |
@@ -19,18 +20,17 @@ conflicts=('anki' 'anki-bin' 'anki-git') | |||
19 | replaces=() | 20 | replaces=() |
20 | options=() | 21 | options=() |
21 | install=$pkgname.install | 22 | install=$pkgname.install |
22 | source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" | 23 | source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst" |
23 | "install_sh.patch") | 24 | "install_sh.patch") |
24 | sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' | 25 | sha256sums=('21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35' |
25 | '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') | 26 | '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') |
26 | 27 | ||
27 | topdirname="anki-$pkgver-linux-qt6" | ||
28 | prepare() { | 28 | prepare() { |
29 | cd "$srcdir/$topdirname" | 29 | cd "$srcdir/$_pkgname" |
30 | patch install.sh ../install_sh.patch | 30 | patch install.sh ../install_sh.patch |
31 | } | 31 | } |
32 | 32 | ||
33 | package() { | 33 | package() { |
34 | cd "$topdirname" | 34 | cd "$_pkgname" |
35 | PREFIX="$pkgdir/usr/" ./install.sh | 35 | PREFIX="$pkgdir/usr/" ./install.sh |
36 | } | 36 | } |