diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 13 insertions, 7 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.12 | 8 | pkgver=2.1.13 |
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." |
@@ -25,19 +25,25 @@ options=() | |||
25 | install= | 25 | install= |
26 | changelog= | 26 | changelog= |
27 | topdirname="anki-$pkgver-linux-amd64" | 27 | topdirname="anki-$pkgver-linux-amd64" |
28 | source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") | 28 | source=( |
29 | "https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" | ||
30 | "remove_xdg_cmds_from_makefile.patch" | ||
31 | "prefix-fix.patch" | ||
32 | ) | ||
29 | noextract=() | 33 | noextract=() |
30 | md5sums=( | 34 | md5sums=( |
31 | '5c0e65479907b178ce7a9cb7db5c8238' | 35 | '1cbc4cf03f5f41fdbf694b931cb512c0' |
32 | 'f0aa931cc56a39efa3cef0c2ddbaea78' | 36 | '81e1cb8bfb5122319b141ea25e536ef6' |
33 | '2d79e7014d1242e04dc398415bfdd5d8' | 37 | '82a5d4f63bbc29e6a80043dd95973b4f' |
34 | ) | 38 | ) |
35 | validpgpkeys=() | 39 | validpgpkeys=() |
36 | 40 | ||
37 | prepare() { | 41 | prepare() { |
38 | cd "$srcdir" | 42 | cd "$srcdir" |
39 | patch -p0 -i remove_xdg_cmds_from_makefile.patch | 43 | ln -s "$topdirname" anki |
40 | patch -p0 -i prefix-fix.patch | 44 | patch -p0 -i remove_xdg_cmds_from_makefile.patch |
45 | patch -p0 -i prefix-fix.patch | ||
46 | rm anki | ||
41 | } | 47 | } |
42 | 48 | ||
43 | build() { | 49 | build() { |