From c7db412d137e86c9d1a0e7a1025dcb794a4b7aca Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Sat, 6 Apr 2019 18:43:23 +0200 Subject: 2.1.11 --- .SRCINFO | 10 ++++++---- .gitignore | 4 ++++ PKGBUILD | 8 ++++---- prefix-fix.patch | 4 ++-- remove_xdg_cmds_from_makefile.patch | 6 +++--- 5 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index 23f4cfa..6ee8953 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,18 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.9 + pkgver = 2.1.11 pkgrel = 1 url = https://apps.ankiweb.net arch = x86_64 license = GNU AGPL provides = anki conflicts = anki-git - source = https://apps.ankiweb.net/downloads/current/anki-2.1.9-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.11-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch - md5sums = 8cc5bb80efc5dac2e9dc9ee802924e24 - md5sums = a7e473f132a4fecd9cb77ac9c8530f5f + source = prefix-fix.patch + md5sums = a1ef83b3f87bf9f3cf6712e6dc06eaf8 + md5sums = afe8bbf18d0b50e57c84208936382fe6 + md5sums = 7c90eebb0ac94923125d3f4d35e7b37d pkgname = anki-official-binary-bundle diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2bdc6ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.bz2 +*.tar.xz +src +pkg diff --git a/PKGBUILD b/PKGBUILD index 9d99d6e..a777bb5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,8 +5,8 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.9 -pkgrel=2 +pkgver=2.1.11 +pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." arch=('x86_64') @@ -27,8 +27,8 @@ changelog= topdirname="anki-$pkgver-linux-amd64" source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") noextract=() -md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f' - '5968099e737668ad7134edfd8bc6f323') +md5sums=('a1ef83b3f87bf9f3cf6712e6dc06eaf8' 'afe8bbf18d0b50e57c84208936382fe6' + '7c90eebb0ac94923125d3f4d35e7b37d') validpgpkeys=() 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 @@ ---- anki-2.1.9-linux-amd64/Makefile.orig 2019-03-04 19:24:16.040322000 +0100 -+++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 19:29:45.048864131 +0100 +--- anki-2.1.11-linux-amd64/Makefile.orig ++++ anki-2.1.11-linux-amd64/Makefile @@ -10,7 +10,7 @@ mkdir -p ${PREFIX}/share/anki 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 @@ ---- anki-2.1.9-linux-amd64/Makefile.old 2019-02-20 05:54:05.000000000 +0100 -+++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 09:02:18.385431498 +0100 +--- anki-2.1.11-linux-amd64/Makefile.old ++++ anki-2.1.11-linux-amd64/Makefile @@ -20,14 +20,14 @@ mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ mv anki.desktop ${PREFIX}/share/applications/;\ @@ -12,7 +12,7 @@ +# xdg-mime default anki.desktop application/x-apkg @echo @echo "Install complete. Type 'anki' to run." - + uninstall: - -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml +# -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml -- cgit v1.2.3-70-g09d2