diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | prefix-fix.patch | 4 | ||||
-rw-r--r-- | remove_xdg_cmds_from_makefile.patch | 6 |
5 files changed, 19 insertions, 13 deletions
@@ -1,16 +1,18 @@ | |||
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.9 | 3 | pkgver = 2.1.11 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://apps.ankiweb.net | 5 | url = https://apps.ankiweb.net |
6 | arch = x86_64 | 6 | arch = x86_64 |
7 | license = GNU AGPL | 7 | license = GNU AGPL |
8 | provides = anki | 8 | provides = anki |
9 | conflicts = anki-git | 9 | conflicts = anki-git |
10 | source = https://apps.ankiweb.net/downloads/current/anki-2.1.9-linux-amd64.tar.bz2 | 10 | source = https://apps.ankiweb.net/downloads/current/anki-2.1.11-linux-amd64.tar.bz2 |
11 | source = remove_xdg_cmds_from_makefile.patch | 11 | source = remove_xdg_cmds_from_makefile.patch |
12 | md5sums = 8cc5bb80efc5dac2e9dc9ee802924e24 | 12 | source = prefix-fix.patch |
13 | md5sums = a7e473f132a4fecd9cb77ac9c8530f5f | 13 | md5sums = a1ef83b3f87bf9f3cf6712e6dc06eaf8 |
14 | md5sums = afe8bbf18d0b50e57c84208936382fe6 | ||
15 | md5sums = 7c90eebb0ac94923125d3f4d35e7b37d | ||
14 | 16 | ||
15 | pkgname = anki-official-binary-bundle | 17 | pkgname = anki-official-binary-bundle |
16 | 18 | ||
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2bdc6ae --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,4 @@ | |||
1 | *.tar.bz2 | ||
2 | *.tar.xz | ||
3 | src | ||
4 | pkg | ||
@@ -5,8 +5,8 @@ | |||
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.9 | 8 | pkgver=2.1.11 |
9 | pkgrel=2 | 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." |
12 | arch=('x86_64') | 12 | arch=('x86_64') |
@@ -27,8 +27,8 @@ 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=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") |
29 | noextract=() | 29 | noextract=() |
30 | md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f' | 30 | md5sums=('a1ef83b3f87bf9f3cf6712e6dc06eaf8' 'afe8bbf18d0b50e57c84208936382fe6' |
31 | '5968099e737668ad7134edfd8bc6f323') | 31 | '7c90eebb0ac94923125d3f4d35e7b37d') |
32 | validpgpkeys=() | 32 | validpgpkeys=() |
33 | 33 | ||
34 | prepare() { | 34 | prepare() { |
diff --git a/prefix-fix.patch b/prefix-fix.patch index f462e06..8de672d 100644 --- a/prefix-fix.patch +++ b/prefix-fix.patch | |||
@@ -1,5 +1,5 @@ | |||
1 | --- anki-2.1.9-linux-amd64/Makefile.orig 2019-03-04 19:24:16.040322000 +0100 | 1 | --- anki-2.1.11-linux-amd64/Makefile.orig |
2 | +++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 19:29:45.048864131 +0100 | 2 | +++ anki-2.1.11-linux-amd64/Makefile |
3 | @@ -10,7 +10,7 @@ | 3 | @@ -10,7 +10,7 @@ |
4 | mkdir -p ${PREFIX}/share/anki | 4 | mkdir -p ${PREFIX}/share/anki |
5 | cp -av * ${PREFIX}/share/anki/ | 5 | cp -av * ${PREFIX}/share/anki/ |
diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch index 99f5065..b0f4a75 100644 --- a/remove_xdg_cmds_from_makefile.patch +++ b/remove_xdg_cmds_from_makefile.patch | |||
@@ -1,5 +1,5 @@ | |||
1 | --- anki-2.1.9-linux-amd64/Makefile.old 2019-02-20 05:54:05.000000000 +0100 | 1 | --- anki-2.1.11-linux-amd64/Makefile.old |
2 | +++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 09:02:18.385431498 +0100 | 2 | +++ anki-2.1.11-linux-amd64/Makefile |
3 | @@ -20,14 +20,14 @@ | 3 | @@ -20,14 +20,14 @@ |
4 | mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ | 4 | mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ |
5 | mv anki.desktop ${PREFIX}/share/applications/;\ | 5 | mv anki.desktop ${PREFIX}/share/applications/;\ |
@@ -12,7 +12,7 @@ | |||
12 | +# xdg-mime default anki.desktop application/x-apkg | 12 | +# xdg-mime default anki.desktop application/x-apkg |
13 | @echo | 13 | @echo |
14 | @echo "Install complete. Type 'anki' to run." | 14 | @echo "Install complete. Type 'anki' to run." |
15 | 15 | ||
16 | uninstall: | 16 | uninstall: |
17 | - -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml | 17 | - -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml |
18 | +# -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml | 18 | +# -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml |