diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 9 insertions, 15 deletions
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | # Maintainer: Kuklin István <kuklinistvan@zoho.com> | 6 | # Maintainer: Kuklin István <kuklinistvan@zoho.com> |
7 | pkgname=anki-official-binary-bundle | 7 | pkgname=anki-official-binary-bundle |
8 | pkgver=2.1.49 | 8 | pkgver=2.1.53 |
9 | pkgrel=1 | 9 | pkgrel=1 |
10 | epoch= | 10 | epoch= |
11 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." | 11 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." |
@@ -22,31 +22,25 @@ conflicts=('anki' 'anki-git') | |||
22 | replaces=() | 22 | replaces=() |
23 | backup=() | 23 | backup=() |
24 | options=() | 24 | options=() |
25 | install= | 25 | install=$pkgname.install |
26 | changelog= | 26 | changelog= |
27 | topdirname="anki-$pkgver-linux" | 27 | topdirname="anki-$pkgver-linux-qt6" |
28 | source=( | 28 | source=( |
29 | "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.bz2" | 29 | "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" |
30 | "install_sh.patch" | 30 | "install_sh.patch" |
31 | ) | 31 | ) |
32 | noextract=() | 32 | noextract=() |
33 | md5sums=('d0c13ae7cf988358fb231645f6490088' | 33 | sha256sums=('c9739271c6f2bfbe248c98fd83d5ce8952301f21ac39f2c0504219294557ddfc' |
34 | '82d6fb7eb10ec0ae592093d89d8d5957') | 34 | '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') |
35 | 35 | ||
36 | validpgpkeys=() | 36 | validpgpkeys=() |
37 | 37 | ||
38 | prepare() { | 38 | prepare() { |
39 | cd "$srcdir" | 39 | cd "$srcdir"/"$topdirname" |
40 | ln -s "$topdirname" anki | 40 | patch install.sh ../install_sh.patch |
41 | patch -p0 -i install_sh.patch anki/install.sh | ||
42 | rm anki | ||
43 | } | ||
44 | |||
45 | build() { | ||
46 | cd "$topdirname" | ||
47 | } | 41 | } |
48 | 42 | ||
49 | package() { | 43 | package() { |
50 | cd "$topdirname" | 44 | cd "$topdirname" |
51 | PREFIX="$pkgdir"/usr/ ./install.sh | 45 | PREFIX="$pkgdir"/usr/ ./install.sh |
52 | } | 46 | } |