summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuklin István Alexander2021-11-08 16:17:06 +0100
committerKuklin István Alexander2021-11-08 16:17:06 +0100
commitedaf18ecc5c0e2ad53dfbd0b09334c3513de55df (patch)
tree762d05c4846e0bc12cb6822bb83fe91e5cdc71b0
parentd1d0d54ffb3ef5653b1719adefed3086f755a997 (diff)
downloadpackages-edaf18ecc5c0e2ad53dfbd0b09334c3513de55df.tar.gz
packages-edaf18ecc5c0e2ad53dfbd0b09334c3513de55df.tar.bz2
packages-edaf18ecc5c0e2ad53dfbd0b09334c3513de55df.zip
2.1.49
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
-rw-r--r--install_sh.patch28
3 files changed, 21 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8878ca..c8855a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
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.48 3 pkgver = 2.1.49
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
@@ -10,9 +10,9 @@ pkgbase = anki-official-binary-bundle
10 provides = anki 10 provides = anki
11 conflicts = anki 11 conflicts = anki
12 conflicts = anki-git 12 conflicts = anki-git
13 source = https://github.com/ankitects/anki/releases/download/2.1.48/anki-2.1.48-linux.tar.bz2 13 source = https://github.com/ankitects/anki/releases/download/2.1.49/anki-2.1.49-linux.tar.bz2
14 source = install_sh.patch 14 source = install_sh.patch
15 md5sums = 6c5c7231c6a38f03624a22c5a46fb6c4 15 md5sums = d0c13ae7cf988358fb231645f6490088
16 md5sums = 0ffca54471c2b5b2a300a68a93e135db 16 md5sums = 82d6fb7eb10ec0ae592093d89d8d5957
17 17
18pkgname = anki-official-binary-bundle 18pkgname = anki-official-binary-bundle
diff --git a/PKGBUILD b/PKGBUILD
index 4c4b32a..b715267 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
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.48 8pkgver=2.1.49
9pkgrel=1 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."
@@ -30,8 +30,8 @@ source=(
30 "install_sh.patch" 30 "install_sh.patch"
31) 31)
32noextract=() 32noextract=()
33md5sums=('6c5c7231c6a38f03624a22c5a46fb6c4' 33md5sums=('d0c13ae7cf988358fb231645f6490088'
34 '0ffca54471c2b5b2a300a68a93e135db') 34 '82d6fb7eb10ec0ae592093d89d8d5957')
35 35
36validpgpkeys=() 36validpgpkeys=()
37 37
diff --git a/install_sh.patch b/install_sh.patch
index e436b84..3dc6095 100644
--- a/install_sh.patch
+++ b/install_sh.patch
@@ -1,18 +1,18 @@
1--- install.sh.orig 2020-12-10 06:36:44.000000000 +0100 1--- install.sh.orig 2020-12-10 06:36:44.000000000 +0100
2+++ install.sh 2020-12-30 14:54:50.834734784 +0100 2+++ install.sh 2020-12-30 14:54:50.834734784 +0100
3@@ -10,7 +10,7 @@ 3@@ -15,7 +15,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/
6 mkdir -p ${PREFIX}/bin 6 mkdir -p "$PREFIX"/bin
7-ln -sf ${PREFIX}/share/anki/bin/Anki ${PREFIX}/bin/anki 7-ln -sf "$PREFIX"/share/anki/bin/Anki "$PREFIX"/bin/anki
8+ln -sf /usr/share/anki/bin/Anki ${PREFIX}/bin/anki 8+ln -sf /usr/share/anki/bin/Anki "$PREFIX"/bin/anki
9 # fix a previous packaging issue where we created this as a file 9 # fix a previous packaging issue where we created this as a file
10 (test -f ${PREFIX}/share/applications && rm ${PREFIX}/share/applications)||true 10 (test -f "$PREFIX"/share/applications && rm "$PREFIX"/share/applications)||true
11 mkdir -p ${PREFIX}/share/pixmaps 11 mkdir -p "$PREFIX"/share/pixmaps
12@@ -21,9 +21,4 @@ 12@@ -26,9 +26,4 @@
13 mv anki.desktop ${PREFIX}/share/applications/;\ 13 mv anki.desktop "$PREFIX"/share/applications/;\
14 mv anki.1 ${PREFIX}/share/man/man1/) 14 mv anki.1 "$PREFIX"/share/man/man1/)
15 15
16-xdg-mime install anki.xml --novendor 16-xdg-mime install anki.xml --novendor
17-xdg-mime default anki.desktop application/x-colpkg 17-xdg-mime default anki.desktop application/x-colpkg
18-xdg-mime default anki.desktop application/x-apkg 18-xdg-mime default anki.desktop application/x-apkg