From edaf18ecc5c0e2ad53dfbd0b09334c3513de55df Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Mon, 8 Nov 2021 16:17:06 +0100 Subject: 2.1.49 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- install_sh.patch | 28 ++++++++++++++-------------- 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 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.48 + pkgver = 2.1.49 pkgrel = 1 url = https://apps.ankiweb.net arch = x86_64 @@ -10,9 +10,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.48/anki-2.1.48-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.49/anki-2.1.49-linux.tar.bz2 source = install_sh.patch - md5sums = 6c5c7231c6a38f03624a22c5a46fb6c4 - md5sums = 0ffca54471c2b5b2a300a68a93e135db + md5sums = d0c13ae7cf988358fb231645f6490088 + md5sums = 82d6fb7eb10ec0ae592093d89d8d5957 pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 4c4b32a..b715267 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.48 +pkgver=2.1.49 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,8 +30,8 @@ source=( "install_sh.patch" ) noextract=() -md5sums=('6c5c7231c6a38f03624a22c5a46fb6c4' - '0ffca54471c2b5b2a300a68a93e135db') +md5sums=('d0c13ae7cf988358fb231645f6490088' + '82d6fb7eb10ec0ae592093d89d8d5957') validpgpkeys=() 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 @@ ---- install.sh.orig 2020-12-10 06:36:44.000000000 +0100 -+++ install.sh 2020-12-30 14:54:50.834734784 +0100 -@@ -10,7 +10,7 @@ - mkdir -p ${PREFIX}/share/anki - cp -av * ${PREFIX}/share/anki/ - mkdir -p ${PREFIX}/bin --ln -sf ${PREFIX}/share/anki/bin/Anki ${PREFIX}/bin/anki -+ln -sf /usr/share/anki/bin/Anki ${PREFIX}/bin/anki +--- install.sh.orig 2020-12-10 06:36:44.000000000 +0100 ++++ install.sh 2020-12-30 14:54:50.834734784 +0100 +@@ -15,7 +15,7 @@ + mkdir -p "$PREFIX"/share/anki + cp -av * "$PREFIX"/share/anki/ + mkdir -p "$PREFIX"/bin +-ln -sf "$PREFIX"/share/anki/bin/Anki "$PREFIX"/bin/anki ++ln -sf /usr/share/anki/bin/Anki "$PREFIX"/bin/anki # fix a previous packaging issue where we created this as a file - (test -f ${PREFIX}/share/applications && rm ${PREFIX}/share/applications)||true - mkdir -p ${PREFIX}/share/pixmaps -@@ -21,9 +21,4 @@ - mv anki.desktop ${PREFIX}/share/applications/;\ - mv anki.1 ${PREFIX}/share/man/man1/) - + (test -f "$PREFIX"/share/applications && rm "$PREFIX"/share/applications)||true + mkdir -p "$PREFIX"/share/pixmaps +@@ -26,9 +26,4 @@ + mv anki.desktop "$PREFIX"/share/applications/;\ + mv anki.1 "$PREFIX"/share/man/man1/) + -xdg-mime install anki.xml --novendor -xdg-mime default anki.desktop application/x-colpkg -xdg-mime default anki.desktop application/x-apkg -- cgit v1.2.3-70-g09d2