summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuklin István2019-04-06 18:43:23 +0200
committerKuklin István2019-04-12 16:35:55 +0200
commitc7db412d137e86c9d1a0e7a1025dcb794a4b7aca (patch)
treecedfc5b702d5cca0c7871c2cea63e6cac6aa0845
parentb11ec067244dd6e8f80cdd5dd7f71b1057cb7f30 (diff)
downloadpackages-c7db412d137e86c9d1a0e7a1025dcb794a4b7aca.tar.gz
packages-c7db412d137e86c9d1a0e7a1025dcb794a4b7aca.tar.bz2
packages-c7db412d137e86c9d1a0e7a1025dcb794a4b7aca.zip
2.1.11
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD8
-rw-r--r--prefix-fix.patch4
-rw-r--r--remove_xdg_cmds_from_makefile.patch6
5 files changed, 19 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23f4cfa..6ee8953 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
1pkgbase = anki-official-binary-bundle 1pkgbase = 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
15pkgname = anki-official-binary-bundle 17pkgname = 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
3src
4pkg
diff --git a/PKGBUILD b/PKGBUILD
index 9d99d6e..a777bb5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
5 5
6# Maintainer: Kuklin István <kuklinistvan@zoho.com> 6# Maintainer: Kuklin István <kuklinistvan@zoho.com>
7pkgname=anki-official-binary-bundle 7pkgname=anki-official-binary-bundle
8pkgver=2.1.9 8pkgver=2.1.11
9pkgrel=2 9pkgrel=1
10epoch= 10epoch=
11pkgdesc="The official binary shipped with the tested versions of the dependent libraries." 11pkgdesc="The official binary shipped with the tested versions of the dependent libraries."
12arch=('x86_64') 12arch=('x86_64')
@@ -27,8 +27,8 @@ changelog=
27topdirname="anki-$pkgver-linux-amd64" 27topdirname="anki-$pkgver-linux-amd64"
28source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") 28source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch")
29noextract=() 29noextract=()
30md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f' 30md5sums=('a1ef83b3f87bf9f3cf6712e6dc06eaf8' 'afe8bbf18d0b50e57c84208936382fe6'
31 '5968099e737668ad7134edfd8bc6f323') 31 '7c90eebb0ac94923125d3f4d35e7b37d')
32validpgpkeys=() 32validpgpkeys=()
33 33
34prepare() { 34prepare() {
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