From 452f5544c43a2417efc5a8a792e3cd493debcc22 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Mon, 4 Mar 2019 09:14:01 +0100 Subject: It works! Mandatory fields, .SRCINFO --- .SRCINFO | 16 ++++++++++++ PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++ anki-official-binary-bundle.install | 9 +++++++ remove_xdg_cmds_from_makefile.patch | 21 +++++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 anki-official-binary-bundle.install create mode 100644 remove_xdg_cmds_from_makefile.patch diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..23f4cfa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = anki-official-binary-bundle + pkgdesc = The official binary shipped with the tested versions of the dependent libraries. + pkgver = 2.1.9 + 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 = remove_xdg_cmds_from_makefile.patch + md5sums = 8cc5bb80efc5dac2e9dc9ee802924e24 + md5sums = a7e473f132a4fecd9cb77ac9c8530f5f + +pkgname = anki-official-binary-bundle + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b8be4c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Kuklin István +pkgname=anki-official-binary-bundle +pkgver=2.1.9 +pkgrel=1 +epoch= +pkgdesc="The official binary shipped with the tested versions of the dependent libraries." +arch=('x86_64') +url="https://apps.ankiweb.net" +license=('GNU AGPL') +groups=() +depends=() +makedepends=() +checkdepends=() +optdepends=() +provides=('anki') +conflicts=('anki-git') +replaces=() +backup=() +options=() +install= +changelog= +topdirname="anki-$pkgver-linux-amd64" +source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch") +noextract=() +md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f') +validpgpkeys=() + +prepare() { + cd "$srcdir" + patch -p0 -i remove_xdg_cmds_from_makefile.patch +} + +build() { + cd "$topdirname" + make +} + +# check() { +# cd "$topdirname" +# make -k check +# } + +package() { + cd "$topdirname" + make PREFIX="$pkgdir/usr" install +} diff --git a/anki-official-binary-bundle.install b/anki-official-binary-bundle.install new file mode 100644 index 0000000..e54a631 --- /dev/null +++ b/anki-official-binary-bundle.install @@ -0,0 +1,9 @@ +post_install () { + xdg-mime install /usr/share/anki/anki.xml --novendor + xdg-mime default /usr/share/applications/anki.desktop application/x-colpkg + xdg-mime default /usr/share/applications/anki.desktop application/x-apkg +} + +pre_remove() { + xdg-mime uninstall /usr/share/anki/anki.xml +} diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch new file mode 100644 index 0000000..99f5065 --- /dev/null +++ b/remove_xdg_cmds_from_makefile.patch @@ -0,0 +1,21 @@ +--- 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 +@@ -20,14 +20,14 @@ + mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ + 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 ++# xdg-mime install anki.xml --novendor ++# xdg-mime default anki.desktop application/x-colpkg ++# 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 + rm -rf ${PREFIX}/share/anki + rm -rf ${PREFIX}/bin/anki + rm -rf ${PREFIX}/share/pixmaps/anki.xpm -- cgit v1.2.3-70-g09d2 From b11ec067244dd6e8f80cdd5dd7f71b1057cb7f30 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Mon, 4 Mar 2019 19:43:30 +0100 Subject: Link path fix --- PKGBUILD | 15 ++++++--------- prefix-fix.patch | 11 +++++++++++ 2 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 prefix-fix.patch diff --git a/PKGBUILD b/PKGBUILD index b8be4c2..9d99d6e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle pkgver=2.1.9 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." arch=('x86_64') @@ -25,14 +25,16 @@ options=() install= changelog= topdirname="anki-$pkgver-linux-amd64" -source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch") +source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") noextract=() -md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f') +md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f' + '5968099e737668ad7134edfd8bc6f323') validpgpkeys=() prepare() { cd "$srcdir" patch -p0 -i remove_xdg_cmds_from_makefile.patch + patch -p0 -i prefix-fix.patch } build() { @@ -40,12 +42,7 @@ build() { make } -# check() { -# cd "$topdirname" -# make -k check -# } - package() { cd "$topdirname" - make PREFIX="$pkgdir/usr" install + make PREFIX="$pkgdir/usr/" install } diff --git a/prefix-fix.patch b/prefix-fix.patch new file mode 100644 index 0000000..f462e06 --- /dev/null +++ b/prefix-fix.patch @@ -0,0 +1,11 @@ +--- 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 +@@ -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/ ++ ln -sf /usr/share/anki/bin/anki ${PREFIX}/bin/ + # 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 -- cgit v1.2.3-70-g09d2 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 From 4d345c711db1e17b6ff75efae97dd8c254984cf4 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Thu, 9 May 2019 12:53:12 +0200 Subject: 2.1.12 --- .SRCINFO | 10 +++++----- PKGBUILD | 9 ++++++--- prefix-fix.patch | 4 ++-- remove_xdg_cmds_from_makefile.patch | 4 ++-- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 6ee8953..ab6952d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,18 +1,18 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.11 + pkgver = 2.1.12 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.11-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.12-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = a1ef83b3f87bf9f3cf6712e6dc06eaf8 - md5sums = afe8bbf18d0b50e57c84208936382fe6 - md5sums = 7c90eebb0ac94923125d3f4d35e7b37d + md5sums = 5c0e65479907b178ce7a9cb7db5c8238 + md5sums = f0aa931cc56a39efa3cef0c2ddbaea78 + md5sums = 2d79e7014d1242e04dc398415bfdd5d8 pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index a777bb5..4046121 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.11 +pkgver=2.1.12 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -27,8 +27,11 @@ 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=('a1ef83b3f87bf9f3cf6712e6dc06eaf8' 'afe8bbf18d0b50e57c84208936382fe6' - '7c90eebb0ac94923125d3f4d35e7b37d') +md5sums=( + '5c0e65479907b178ce7a9cb7db5c8238' + 'f0aa931cc56a39efa3cef0c2ddbaea78' + '2d79e7014d1242e04dc398415bfdd5d8' +) validpgpkeys=() prepare() { diff --git a/prefix-fix.patch b/prefix-fix.patch index 8de672d..8c68ba6 100644 --- a/prefix-fix.patch +++ b/prefix-fix.patch @@ -1,5 +1,5 @@ ---- anki-2.1.11-linux-amd64/Makefile.orig -+++ anki-2.1.11-linux-amd64/Makefile +--- anki-2.1.12-linux-amd64/Makefile.orig ++++ anki-2.1.12-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 b0f4a75..fbb96a0 100644 --- a/remove_xdg_cmds_from_makefile.patch +++ b/remove_xdg_cmds_from_makefile.patch @@ -1,5 +1,5 @@ ---- anki-2.1.11-linux-amd64/Makefile.old -+++ anki-2.1.11-linux-amd64/Makefile +--- anki-2.1.12-linux-amd64/Makefile.old ++++ anki-2.1.12-linux-amd64/Makefile @@ -20,14 +20,14 @@ mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ mv anki.desktop ${PREFIX}/share/applications/;\ -- cgit v1.2.3-70-g09d2 From 9d07da18a196beb9bb8c2ff5e12d1fe3a3413fbc Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Wed, 5 Jun 2019 11:19:10 +0200 Subject: 2.1.13 --- PKGBUILD | 20 +++++++++++++------- prefix-fix.patch | 4 ++-- remove_xdg_cmds_from_makefile.patch | 4 ++-- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 4046121..53a7adf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.12 +pkgver=2.1.13 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -25,19 +25,25 @@ options=() install= 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") +source=( + "https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" + "remove_xdg_cmds_from_makefile.patch" + "prefix-fix.patch" +) noextract=() md5sums=( - '5c0e65479907b178ce7a9cb7db5c8238' - 'f0aa931cc56a39efa3cef0c2ddbaea78' - '2d79e7014d1242e04dc398415bfdd5d8' + '1cbc4cf03f5f41fdbf694b931cb512c0' + '81e1cb8bfb5122319b141ea25e536ef6' + '82a5d4f63bbc29e6a80043dd95973b4f' ) validpgpkeys=() prepare() { cd "$srcdir" - patch -p0 -i remove_xdg_cmds_from_makefile.patch - patch -p0 -i prefix-fix.patch + ln -s "$topdirname" anki + patch -p0 -i remove_xdg_cmds_from_makefile.patch + patch -p0 -i prefix-fix.patch + rm anki } build() { diff --git a/prefix-fix.patch b/prefix-fix.patch index 8c68ba6..af7e059 100644 --- a/prefix-fix.patch +++ b/prefix-fix.patch @@ -1,5 +1,5 @@ ---- anki-2.1.12-linux-amd64/Makefile.orig -+++ anki-2.1.12-linux-amd64/Makefile +--- anki/Makefile.orig ++++ anki/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 fbb96a0..a3a4661 100644 --- a/remove_xdg_cmds_from_makefile.patch +++ b/remove_xdg_cmds_from_makefile.patch @@ -1,5 +1,5 @@ ---- anki-2.1.12-linux-amd64/Makefile.old -+++ anki-2.1.12-linux-amd64/Makefile +--- anki/Makefile.old ++++ anki/Makefile @@ -20,14 +20,14 @@ mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ mv anki.desktop ${PREFIX}/share/applications/;\ -- cgit v1.2.3-70-g09d2 From a0999b7a63d1564b94de0fdf3ecab03fe3328729 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Wed, 5 Jun 2019 11:23:10 +0200 Subject: 2.1.13 .SRCINFO --- .SRCINFO | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ab6952d..84c94fb 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,18 +1,18 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.12 + pkgver = 2.1.13 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.12-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.13-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 5c0e65479907b178ce7a9cb7db5c8238 - md5sums = f0aa931cc56a39efa3cef0c2ddbaea78 - md5sums = 2d79e7014d1242e04dc398415bfdd5d8 + md5sums = 1cbc4cf03f5f41fdbf694b931cb512c0 + md5sums = 81e1cb8bfb5122319b141ea25e536ef6 + md5sums = 82a5d4f63bbc29e6a80043dd95973b4f pkgname = anki-official-binary-bundle -- cgit v1.2.3-70-g09d2 From bb165e14893f918d6c834203cf23d20c284f8c07 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Mon, 8 Jul 2019 13:46:39 +0200 Subject: 2.1.14 --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 84c94fb..09befd4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.13 + pkgver = 2.1.14 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.13-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.14-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 1cbc4cf03f5f41fdbf694b931cb512c0 + md5sums = 9d2ea788073309bbc0f9529f38463797 md5sums = 81e1cb8bfb5122319b141ea25e536ef6 md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 53a7adf..cc529ba 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.13 +pkgver=2.1.14 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -32,7 +32,7 @@ source=( ) noextract=() md5sums=( - '1cbc4cf03f5f41fdbf694b931cb512c0' + '9d2ea788073309bbc0f9529f38463797' '81e1cb8bfb5122319b141ea25e536ef6' '82a5d4f63bbc29e6a80043dd95973b4f' ) @@ -53,5 +53,5 @@ build() { package() { cd "$topdirname" - make PREFIX="$pkgdir/usr/" install + make PREFIX="$pkgdir"/usr/ install } -- cgit v1.2.3-70-g09d2 From 400b799dd2ffaa5944a1e269ed4fcc0af8ac615c Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Mon, 30 Dec 2019 12:05:58 +0100 Subject: 2.1.15 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 09befd4..62c557e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.14 + pkgver = 2.1.15 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.14-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.15-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 9d2ea788073309bbc0f9529f38463797 + md5sums = 257498db511b0caff35e64290b422176 md5sums = 81e1cb8bfb5122319b141ea25e536ef6 md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index cc529ba..a1e3a58 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.14 +pkgver=2.1.15 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -32,7 +32,7 @@ source=( ) noextract=() md5sums=( - '9d2ea788073309bbc0f9529f38463797' + '257498db511b0caff35e64290b422176' '81e1cb8bfb5122319b141ea25e536ef6' '82a5d4f63bbc29e6a80043dd95973b4f' ) -- cgit v1.2.3-70-g09d2 From 1494b7d07b0fd01136d94820d0f75bc2cf251823 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Mon, 3 Feb 2020 11:07:47 +0100 Subject: 2.1.19 --- .SRCINFO | 8 ++++---- PKGBUILD | 8 ++++---- remove_xdg_cmds_from_makefile.patch | 15 +++++++-------- update_srcinfo.sh | 9 +++++++++ 4 files changed, 24 insertions(+), 16 deletions(-) create mode 100755 update_srcinfo.sh diff --git a/.SRCINFO b/.SRCINFO index 62c557e..bfdf843 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,17 +1,17 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.15 + pkgver = 2.1.19 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.15-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.19-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 257498db511b0caff35e64290b422176 - md5sums = 81e1cb8bfb5122319b141ea25e536ef6 + md5sums = 4a6f18ff83eef746be9588b2734c7af6 + md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index a1e3a58..a65f1ec 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.15 +pkgver=2.1.19 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -32,8 +32,8 @@ source=( ) noextract=() md5sums=( - '257498db511b0caff35e64290b422176' - '81e1cb8bfb5122319b141ea25e536ef6' + '4a6f18ff83eef746be9588b2734c7af6' + '0eb542757f6b15d9904a53496627c76b' '82a5d4f63bbc29e6a80043dd95973b4f' ) validpgpkeys=() @@ -41,7 +41,7 @@ validpgpkeys=() prepare() { cd "$srcdir" ln -s "$topdirname" anki - patch -p0 -i remove_xdg_cmds_from_makefile.patch + patch -p1 -i remove_xdg_cmds_from_makefile.patch patch -p0 -i prefix-fix.patch rm anki } diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch index a3a4661..8785e8b 100644 --- a/remove_xdg_cmds_from_makefile.patch +++ b/remove_xdg_cmds_from_makefile.patch @@ -1,21 +1,20 @@ ---- anki/Makefile.old -+++ anki/Makefile -@@ -20,14 +20,14 @@ +diff --git a/anki/Makefile b/anki/Makefile +index 9f10a3a..6a3539b 100644 +--- a/anki/Makefile ++++ b/anki/Makefile +@@ -20,15 +20,10 @@ install: mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ 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 -+# xdg-mime install anki.xml --novendor -+# xdg-mime default anki.desktop application/x-colpkg -+# xdg-mime default anki.desktop application/x-apkg +- xdg-mime default anki.desktop application/x-ankiaddon @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 rm -rf ${PREFIX}/share/anki rm -rf ${PREFIX}/bin/anki rm -rf ${PREFIX}/share/pixmaps/anki.xpm diff --git a/update_srcinfo.sh b/update_srcinfo.sh new file mode 100755 index 0000000..d34ac7d --- /dev/null +++ b/update_srcinfo.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +echo Updating .SRCINFO + +cd "$DIR" +makepkg --printsrcinfo > .SRCINFO +git add .SRCINFO -- cgit v1.2.3-70-g09d2 From 34fb19f95caff474170f4bb70bccb46ce105b850 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Sat, 29 Feb 2020 11:04:37 +0100 Subject: 2.1.20 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bfdf843..18c5870 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.19 + pkgver = 2.1.20 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.19-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.20-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 4a6f18ff83eef746be9588b2734c7af6 + md5sums = 3240a13557abc8b94cd90e5d38fb28ee md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index a65f1ec..6b9024c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.19 +pkgver=2.1.20 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -32,7 +32,7 @@ source=( ) noextract=() md5sums=( - '4a6f18ff83eef746be9588b2734c7af6' + '3240a13557abc8b94cd90e5d38fb28ee' '0eb542757f6b15d9904a53496627c76b' '82a5d4f63bbc29e6a80043dd95973b4f' ) -- cgit v1.2.3-70-g09d2 From 5c0400fd7695651562f16cd78a4d7cb622d2e07a Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Mon, 6 Apr 2020 19:18:13 +0200 Subject: 2.1.22 --- .SRCINFO | 6 +++--- PKGBUILD | 10 ++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 18c5870..9ef023f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.20 + pkgver = 2.1.22 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.20-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.22-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 3240a13557abc8b94cd90e5d38fb28ee + md5sums = d056f300d36d5ce6722653d260deb0fa md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 6b9024c..1290e64 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.20 +pkgver=2.1.22 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,11 +31,9 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=( - '3240a13557abc8b94cd90e5d38fb28ee' - '0eb542757f6b15d9904a53496627c76b' - '82a5d4f63bbc29e6a80043dd95973b4f' -) +md5sums=('d056f300d36d5ce6722653d260deb0fa' + '0eb542757f6b15d9904a53496627c76b' + '82a5d4f63bbc29e6a80043dd95973b4f') validpgpkeys=() prepare() { -- cgit v1.2.3-70-g09d2 From cf02091e372518b8446c1f4e85e423f205194f32 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Mon, 29 Jun 2020 10:41:25 +0200 Subject: 2.1.26 --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9ef023f..44b07fb 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.22 + pkgver = 2.1.26 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.22-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.26-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = d056f300d36d5ce6722653d260deb0fa + md5sums = abc1a5d7d82966724ec712924362f481 md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 1290e64..6a46e3e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.22 +pkgver=2.1.26 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,9 +31,9 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=('d056f300d36d5ce6722653d260deb0fa' +md5sums=('abc1a5d7d82966724ec712924362f481' '0eb542757f6b15d9904a53496627c76b' - '82a5d4f63bbc29e6a80043dd95973b4f') + '82a5d4f63bbc29e6a80043dd95973b4f') validpgpkeys=() prepare() { -- cgit v1.2.3-70-g09d2 From 779836a0ea29dbb31c97c54e538610f7b2022c99 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sun, 2 Aug 2020 16:31:41 +0200 Subject: 2.1.29 --- .SRCINFO | 6 +++--- PKGBUILD | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 44b07fb..bfedc32 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.26 + pkgver = 2.1.29 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.26-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.29-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = abc1a5d7d82966724ec712924362f481 + md5sums = 0aaaeb3949ed954825b5d2e9bc0071ef md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 6a46e3e..b7e6beb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.26 +pkgver=2.1.29 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,9 +31,10 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=('abc1a5d7d82966724ec712924362f481' - '0eb542757f6b15d9904a53496627c76b' - '82a5d4f63bbc29e6a80043dd95973b4f') +md5sums=('0aaaeb3949ed954825b5d2e9bc0071ef' + '0eb542757f6b15d9904a53496627c76b' + '82a5d4f63bbc29e6a80043dd95973b4f') + validpgpkeys=() prepare() { -- cgit v1.2.3-70-g09d2 From f24c2d29a0eb837bc689501bd8d5d83cae81bf75 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Fri, 28 Aug 2020 19:38:10 +0200 Subject: 2.1.32 --- .SRCINFO | 6 +++--- PKGBUILD | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bfedc32..e00aea0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.29 + pkgver = 2.1.32 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.29-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.32-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 0aaaeb3949ed954825b5d2e9bc0071ef + md5sums = 568920bf0859da574dad851d622be908 md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index b7e6beb..4ee3ad0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.29 +pkgver=2.1.32 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,9 +31,9 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=('0aaaeb3949ed954825b5d2e9bc0071ef' - '0eb542757f6b15d9904a53496627c76b' - '82a5d4f63bbc29e6a80043dd95973b4f') +md5sums=('568920bf0859da574dad851d622be908' + '0eb542757f6b15d9904a53496627c76b' + '82a5d4f63bbc29e6a80043dd95973b4f') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From b88f53227565ced6b27847275741e57cc2540924 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sun, 6 Sep 2020 08:20:29 +0200 Subject: 2.1.33 --- .SRCINFO | 6 +++--- PKGBUILD | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e00aea0..cba5676 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.32 + pkgver = 2.1.33 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.32-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.33-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = 568920bf0859da574dad851d622be908 + md5sums = c48ce97ca007b45109994d389065a02a md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 4ee3ad0..487799f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.32 +pkgver=2.1.33 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,10 +31,11 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=('568920bf0859da574dad851d622be908' +md5sums=('c48ce97ca007b45109994d389065a02a' '0eb542757f6b15d9904a53496627c76b' '82a5d4f63bbc29e6a80043dd95973b4f') + validpgpkeys=() prepare() { -- cgit v1.2.3-70-g09d2 From 8d71d11cbada87abb1c4c6c95644a2f8f9e687b1 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Mon, 28 Sep 2020 10:02:56 +0200 Subject: 2.1.34 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index cba5676..2c1f80c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.33 + pkgver = 2.1.34 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.33-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.34-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = c48ce97ca007b45109994d389065a02a + md5sums = aaf2aa0f850582966c09136cb36b6b20 md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 487799f..117e641 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.33 +pkgver=2.1.34 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,7 +31,7 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=('c48ce97ca007b45109994d389065a02a' +md5sums=('aaf2aa0f850582966c09136cb36b6b20' '0eb542757f6b15d9904a53496627c76b' '82a5d4f63bbc29e6a80043dd95973b4f') -- cgit v1.2.3-70-g09d2 From 579ca33b11a43f838657bbceba8fb85162afe22c Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Fri, 2 Oct 2020 13:24:27 +0200 Subject: 2.1.35 --- .SRCINFO | 6 +++--- PKGBUILD | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2c1f80c..a40189c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,16 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.34 + pkgver = 2.1.35 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.34-linux-amd64.tar.bz2 + source = https://apps.ankiweb.net/downloads/current/anki-2.1.35-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch source = prefix-fix.patch - md5sums = aaf2aa0f850582966c09136cb36b6b20 + md5sums = d7ad8af7c1d9ddd92bb14d9d4a10ea7c md5sums = 0eb542757f6b15d9904a53496627c76b md5sums = 82a5d4f63bbc29e6a80043dd95973b4f diff --git a/PKGBUILD b/PKGBUILD index 117e641..a7bfd6a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.34 +pkgver=2.1.35 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -31,11 +31,10 @@ source=( "prefix-fix.patch" ) noextract=() -md5sums=('aaf2aa0f850582966c09136cb36b6b20' +md5sums=('d7ad8af7c1d9ddd92bb14d9d4a10ea7c' '0eb542757f6b15d9904a53496627c76b' '82a5d4f63bbc29e6a80043dd95973b4f') - validpgpkeys=() prepare() { -- cgit v1.2.3-70-g09d2 From 00ed03223ce0b0079612ab04115815c535a9c487 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sun, 29 Nov 2020 11:08:30 +0100 Subject: conflicts: anki-git, anki + Docker builder image --- .SRCINFO | 1 + Dockerfile | 4 ++++ PKGBUILD | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/.SRCINFO b/.SRCINFO index a40189c..95034d6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -6,6 +6,7 @@ pkgbase = anki-official-binary-bundle arch = x86_64 license = GNU AGPL provides = anki + conflicts = anki conflicts = anki-git source = https://apps.ankiweb.net/downloads/current/anki-2.1.35-linux-amd64.tar.bz2 source = remove_xdg_cmds_from_makefile.patch diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cd7479f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM archlinux +RUN pacman -Sy --noconfirm sudo fakeroot base-devel +RUN pacman -S --noconfirm git +RUN useradd user diff --git a/PKGBUILD b/PKGBUILD index a7bfd6a..ca6d7d1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -18,7 +18,7 @@ makedepends=() checkdepends=() optdepends=() provides=('anki') -conflicts=('anki-git') +conflicts=('anki' 'anki-git') replaces=() backup=() options=() -- cgit v1.2.3-70-g09d2 From b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Wed, 30 Dec 2020 15:56:31 +0100 Subject: 2.1.38 --- .SRCINFO | 14 +++++++------- Dockerfile | 4 ++++ PKGBUILD | 26 +++++++++++--------------- docker.sudoers | 1 + install_sh.patch | 21 +++++++++++++++++++++ prefix-fix.patch | 11 ----------- remove_xdg_cmds_from_makefile.patch | 20 -------------------- 7 files changed, 44 insertions(+), 53 deletions(-) create mode 100644 docker.sudoers create mode 100644 install_sh.patch delete mode 100644 prefix-fix.patch delete mode 100644 remove_xdg_cmds_from_makefile.patch diff --git a/.SRCINFO b/.SRCINFO index 95034d6..8251d21 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,19 +1,19 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.35 + pkgver = 2.1.38 pkgrel = 1 url = https://apps.ankiweb.net arch = x86_64 license = GNU AGPL + depends = libxkbcommon-x11 + optdepends = mpv provides = anki conflicts = anki conflicts = anki-git - source = https://apps.ankiweb.net/downloads/current/anki-2.1.35-linux-amd64.tar.bz2 - source = remove_xdg_cmds_from_makefile.patch - source = prefix-fix.patch - md5sums = d7ad8af7c1d9ddd92bb14d9d4a10ea7c - md5sums = 0eb542757f6b15d9904a53496627c76b - md5sums = 82a5d4f63bbc29e6a80043dd95973b4f + source = https://github.com/ankitects/anki/releases/download/2.1.38/anki-2.1.38-linux.tar.bz2 + source = install_sh.patch + md5sums = ab70980ca8b87a6f0fd67d05fc7a37d4 + md5sums = 0ffca54471c2b5b2a300a68a93e135db pkgname = anki-official-binary-bundle diff --git a/Dockerfile b/Dockerfile index cd7479f..f2ac91e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ FROM archlinux RUN pacman -Sy --noconfirm sudo fakeroot base-devel RUN pacman -S --noconfirm git +RUN pacman -S --noconfirm vim +COPY docker.sudoers /etc/sudoers.d/wheel RUN useradd user +RUN usermod -a user -G wheel + diff --git a/PKGBUILD b/PKGBUILD index ca6d7d1..1ed0341 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.35 +pkgver=2.1.38 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -13,10 +13,10 @@ arch=('x86_64') url="https://apps.ankiweb.net" license=('GNU AGPL') groups=() -depends=() +depends=('libxkbcommon-x11') makedepends=() checkdepends=() -optdepends=() +optdepends=('mpv') provides=('anki') conflicts=('anki' 'anki-git') replaces=() @@ -24,33 +24,29 @@ backup=() options=() install= changelog= -topdirname="anki-$pkgver-linux-amd64" +topdirname="anki-$pkgver-linux" source=( - "https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" - "remove_xdg_cmds_from_makefile.patch" - "prefix-fix.patch" + "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.bz2" + "install_sh.patch" ) noextract=() -md5sums=('d7ad8af7c1d9ddd92bb14d9d4a10ea7c' - '0eb542757f6b15d9904a53496627c76b' - '82a5d4f63bbc29e6a80043dd95973b4f') +md5sums=('ab70980ca8b87a6f0fd67d05fc7a37d4' + '0ffca54471c2b5b2a300a68a93e135db') validpgpkeys=() prepare() { - cd "$srcdir" + cd "$srcdir" ln -s "$topdirname" anki - patch -p1 -i remove_xdg_cmds_from_makefile.patch - patch -p0 -i prefix-fix.patch + patch -p0 -i install_sh.patch anki/install.sh rm anki } build() { cd "$topdirname" - make } package() { cd "$topdirname" - make PREFIX="$pkgdir"/usr/ install + PREFIX="$pkgdir"/usr/ ./install.sh } diff --git a/docker.sudoers b/docker.sudoers new file mode 100644 index 0000000..7c499c2 --- /dev/null +++ b/docker.sudoers @@ -0,0 +1 @@ +%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/install_sh.patch b/install_sh.patch new file mode 100644 index 0000000..e436b84 --- /dev/null +++ b/install_sh.patch @@ -0,0 +1,21 @@ +--- 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 + # 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/) + +-xdg-mime install anki.xml --novendor +-xdg-mime default anki.desktop application/x-colpkg +-xdg-mime default anki.desktop application/x-apkg +-xdg-mime default anki.desktop application/x-ankiaddon +- + echo "Install complete. Type 'anki' to run." diff --git a/prefix-fix.patch b/prefix-fix.patch deleted file mode 100644 index af7e059..0000000 --- a/prefix-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- anki/Makefile.orig -+++ anki/Makefile -@@ -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/ -+ ln -sf /usr/share/anki/bin/anki ${PREFIX}/bin/ - # 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 diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch deleted file mode 100644 index 8785e8b..0000000 --- a/remove_xdg_cmds_from_makefile.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/anki/Makefile b/anki/Makefile -index 9f10a3a..6a3539b 100644 ---- a/anki/Makefile -+++ b/anki/Makefile -@@ -20,15 +20,10 @@ install: - mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ - 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 -- xdg-mime default anki.desktop application/x-ankiaddon - @echo - @echo "Install complete. Type 'anki' to run." - - uninstall: -- -xdg-mime uninstall ${PREFIX}/share/anki/anki.xml - rm -rf ${PREFIX}/share/anki - rm -rf ${PREFIX}/bin/anki - rm -rf ${PREFIX}/share/pixmaps/anki.xpm -- cgit v1.2.3-70-g09d2 From d13f6054ff4a5c3c7801f507539a00ae67e4b74d Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Mon, 26 Apr 2021 19:23:55 +0200 Subject: 2.1.43 --- .SRCINFO | 6 +++--- Dockerfile | 8 ++++++++ PKGBUILD | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8251d21..4a437e0 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.38 + pkgver = 2.1.43 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.38/anki-2.1.38-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.43/anki-2.1.43-linux.tar.bz2 source = install_sh.patch - md5sums = ab70980ca8b87a6f0fd67d05fc7a37d4 + md5sums = 3b92f142730710fa89b9557fbfcd851c md5sums = 0ffca54471c2b5b2a300a68a93e135db pkgname = anki-official-binary-bundle diff --git a/Dockerfile b/Dockerfile index f2ac91e..9422cfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,12 @@ FROM archlinux + +# https://serverfault.com/a/1053273 +# TEMP-FIX for pacman issue +RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ + && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \ + && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." +# TEMP-FIX for pacman issue + RUN pacman -Sy --noconfirm sudo fakeroot base-devel RUN pacman -S --noconfirm git RUN pacman -S --noconfirm vim diff --git a/PKGBUILD b/PKGBUILD index 1ed0341..64a5ff4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.38 +pkgver=2.1.43 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -md5sums=('ab70980ca8b87a6f0fd67d05fc7a37d4' +md5sums=('3b92f142730710fa89b9557fbfcd851c' '0ffca54471c2b5b2a300a68a93e135db') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From 85a527abf567a579fa3405d8f88732fc9d99e9d5 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Thu, 27 May 2021 13:36:50 +0200 Subject: 2.1.44 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4a437e0..0a64434 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.43 + pkgver = 2.1.44 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.43/anki-2.1.43-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.44/anki-2.1.44-linux.tar.bz2 source = install_sh.patch - md5sums = 3b92f142730710fa89b9557fbfcd851c + md5sums = 83a900effc6892091977fb867d6d69bf md5sums = 0ffca54471c2b5b2a300a68a93e135db pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 64a5ff4..de59fca 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.43 +pkgver=2.1.44 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -md5sums=('3b92f142730710fa89b9557fbfcd851c' +md5sums=('83a900effc6892091977fb867d6d69bf' '0ffca54471c2b5b2a300a68a93e135db') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From 07936e689b8b9cdfad5610eb3611406c5076abdf Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Tue, 10 Aug 2021 18:44:07 +0200 Subject: 2.1.46 --- .SRCINFO | 7 +++---- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0a64434..877ff8d 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.44 + pkgver = 2.1.46 pkgrel = 1 url = https://apps.ankiweb.net arch = x86_64 @@ -10,10 +10,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.44/anki-2.1.44-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.46/anki-2.1.46-linux.tar.bz2 source = install_sh.patch - md5sums = 83a900effc6892091977fb867d6d69bf + md5sums = 969d53b1097ed9a650b4f43775382c25 md5sums = 0ffca54471c2b5b2a300a68a93e135db pkgname = anki-official-binary-bundle - diff --git a/PKGBUILD b/PKGBUILD index de59fca..ed9bcaf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.44 +pkgver=2.1.46 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -md5sums=('83a900effc6892091977fb867d6d69bf' +md5sums=('969d53b1097ed9a650b4f43775382c25' '0ffca54471c2b5b2a300a68a93e135db') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From f238bf833f920d7cdd92436c581fbbbf7bf0ec02 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Mon, 6 Sep 2021 11:35:34 +0200 Subject: 2.1.47 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 877ff8d..c9da882 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.46 + pkgver = 2.1.47 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.46/anki-2.1.46-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.47/anki-2.1.47-linux.tar.bz2 source = install_sh.patch - md5sums = 969d53b1097ed9a650b4f43775382c25 + md5sums = e1ac965b5faaa9795a7634a249b462fa md5sums = 0ffca54471c2b5b2a300a68a93e135db pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index ed9bcaf..992badb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.46 +pkgver=2.1.47 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -md5sums=('969d53b1097ed9a650b4f43775382c25' +md5sums=('e1ac965b5faaa9795a7634a249b462fa' '0ffca54471c2b5b2a300a68a93e135db') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From d1d0d54ffb3ef5653b1719adefed3086f755a997 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Tue, 21 Sep 2021 17:44:00 +0200 Subject: 2.1.48 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c9da882..b8878ca 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.47 + pkgver = 2.1.48 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.47/anki-2.1.47-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.48/anki-2.1.48-linux.tar.bz2 source = install_sh.patch - md5sums = e1ac965b5faaa9795a7634a249b462fa + md5sums = 6c5c7231c6a38f03624a22c5a46fb6c4 md5sums = 0ffca54471c2b5b2a300a68a93e135db pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 992badb..4c4b32a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.47 +pkgver=2.1.48 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -md5sums=('e1ac965b5faaa9795a7634a249b462fa' +md5sums=('6c5c7231c6a38f03624a22c5a46fb6c4' '0ffca54471c2b5b2a300a68a93e135db') validpgpkeys=() -- cgit v1.2.3-70-g09d2 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 From 445f1780bb7176e1e0daebf510a2f4bdca7ca5ba Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sun, 19 Jun 2022 20:22:20 +0200 Subject: 2.1.53 --- .SRCINFO | 8 ++++---- Dockerfile | 16 ---------------- PKGBUILD | 24 +++++++++--------------- docker.sudoers | 1 - install_sh.patch | 26 ++++++++++++++++---------- 5 files changed, 29 insertions(+), 46 deletions(-) delete mode 100644 Dockerfile delete mode 100644 docker.sudoers diff --git a/.SRCINFO b/.SRCINFO index c8855a5..55afe04 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.49 + pkgver = 2.1.53 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.49/anki-2.1.49-linux.tar.bz2 + source = https://github.com/ankitects/anki/releases/download/2.1.53/anki-2.1.53-linux-qt6.tar.zst source = install_sh.patch - md5sums = d0c13ae7cf988358fb231645f6490088 - md5sums = 82d6fb7eb10ec0ae592093d89d8d5957 + sha256sums = c9739271c6f2bfbe248c98fd83d5ce8952301f21ac39f2c0504219294557ddfc + sha256sums = b6dc61727ad2c2e10fb49cb58d1cd9900aa15eaba525117299a2143ad2745868 pkgname = anki-official-binary-bundle diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9422cfc..0000000 --- a/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM archlinux - -# https://serverfault.com/a/1053273 -# TEMP-FIX for pacman issue -RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ - && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \ - && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." -# TEMP-FIX for pacman issue - -RUN pacman -Sy --noconfirm sudo fakeroot base-devel -RUN pacman -S --noconfirm git -RUN pacman -S --noconfirm vim -COPY docker.sudoers /etc/sudoers.d/wheel -RUN useradd user -RUN usermod -a user -G wheel - diff --git a/PKGBUILD b/PKGBUILD index b715267..af9fcb2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.49 +pkgver=2.1.53 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -22,31 +22,25 @@ conflicts=('anki' 'anki-git') replaces=() backup=() options=() -install= +install=$pkgname.install changelog= -topdirname="anki-$pkgver-linux" +topdirname="anki-$pkgver-linux-qt6" source=( - "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.bz2" + "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" "install_sh.patch" ) noextract=() -md5sums=('d0c13ae7cf988358fb231645f6490088' - '82d6fb7eb10ec0ae592093d89d8d5957') +sha256sums=('c9739271c6f2bfbe248c98fd83d5ce8952301f21ac39f2c0504219294557ddfc' + '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') validpgpkeys=() prepare() { - cd "$srcdir" - ln -s "$topdirname" anki - patch -p0 -i install_sh.patch anki/install.sh - rm anki -} - -build() { - cd "$topdirname" + cd "$srcdir"/"$topdirname" + patch install.sh ../install_sh.patch } package() { cd "$topdirname" - PREFIX="$pkgdir"/usr/ ./install.sh + PREFIX="$pkgdir"/usr/ ./install.sh } diff --git a/docker.sudoers b/docker.sudoers deleted file mode 100644 index 7c499c2..0000000 --- a/docker.sudoers +++ /dev/null @@ -1 +0,0 @@ -%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/install_sh.patch b/install_sh.patch index 3dc6095..e76e1af 100644 --- a/install_sh.patch +++ b/install_sh.patch @@ -1,21 +1,27 @@ ---- 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 @@ +--- install.sh.orig 2022-06-06 18:29:11.117752422 -0500 ++++ install.sh 2022-06-06 18:40:38.153466913 -0500 +@@ -13,9 +13,10 @@ + + rm -rf "$PREFIX"/share/anki "$PREFIX"/bin/anki mkdir -p "$PREFIX"/share/anki - cp -av * "$PREFIX"/share/anki/ +-cp -av --no-preserve=owner,context * "$PREFIX"/share/anki/ ++shopt -s extglob ++cp -av --no-preserve=owner,context !(*install.sh) "$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 +-ln -sf "$PREFIX"/share/anki/anki "$PREFIX"/bin/anki ++ln -sf ../share/anki/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 -@@ -26,9 +26,4 @@ - mv anki.desktop "$PREFIX"/share/applications/;\ - mv anki.1 "$PREFIX"/share/man/man1/) - +@@ -26,11 +26,4 @@ + mv -Z anki.desktop "$PREFIX"/share/applications/;\ + mv -Z 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 -xdg-mime default anki.desktop application/x-ankiaddon +- +-rm install.sh - echo "Install complete. Type 'anki' to run." -- cgit v1.2.3-70-g09d2 From ba88cb7ded5c7a66c9db2d26920eac4148d4099e Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Thu, 7 Jul 2022 18:59:44 +0200 Subject: 2.1.54 --- .SRCINFO | 3 ++- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 55afe04..fa510e3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -3,6 +3,7 @@ pkgbase = anki-official-binary-bundle pkgver = 2.1.53 pkgrel = 1 url = https://apps.ankiweb.net + install = anki-official-binary-bundle.install arch = x86_64 license = GNU AGPL depends = libxkbcommon-x11 @@ -13,6 +14,6 @@ pkgbase = anki-official-binary-bundle source = https://github.com/ankitects/anki/releases/download/2.1.53/anki-2.1.53-linux-qt6.tar.zst source = install_sh.patch sha256sums = c9739271c6f2bfbe248c98fd83d5ce8952301f21ac39f2c0504219294557ddfc - sha256sums = b6dc61727ad2c2e10fb49cb58d1cd9900aa15eaba525117299a2143ad2745868 + sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index af9fcb2..7c161c9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.53 +pkgver=2.1.54 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -sha256sums=('c9739271c6f2bfbe248c98fd83d5ce8952301f21ac39f2c0504219294557ddfc' +sha256sums=('34586055de1cb44b21ee269267dbf438cb3377cd47e357aafb2f8544885c0ad1' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From d0b4fd6bed7df755a9fb781771a4e831a92b59b6 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Thu, 7 Jul 2022 19:00:51 +0200 Subject: 2.1.54 srcinfo fix --- .SRCINFO | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fa510e3..ae8a91a 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.53 + pkgver = 2.1.54 pkgrel = 1 url = https://apps.ankiweb.net install = anki-official-binary-bundle.install @@ -11,9 +11,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.53/anki-2.1.53-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.54/anki-2.1.54-linux-qt6.tar.zst source = install_sh.patch - sha256sums = c9739271c6f2bfbe248c98fd83d5ce8952301f21ac39f2c0504219294557ddfc + sha256sums = 34586055de1cb44b21ee269267dbf438cb3377cd47e357aafb2f8544885c0ad1 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle -- cgit v1.2.3-70-g09d2 From 871502677f70509fbe12cf715015e8aff08cf10d Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sat, 24 Dec 2022 19:52:42 +0100 Subject: 2.1.55 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ae8a91a..e73b9ee 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.54 + pkgver = 2.1.55 pkgrel = 1 url = https://apps.ankiweb.net install = anki-official-binary-bundle.install @@ -11,9 +11,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.54/anki-2.1.54-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.55/anki-2.1.55-linux-qt6.tar.zst source = install_sh.patch - sha256sums = 34586055de1cb44b21ee269267dbf438cb3377cd47e357aafb2f8544885c0ad1 + sha256sums = 7e2ede7d6059667a8e133b553a13ac7eca5c4c10f1ab0d91aff78018c1586c05 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 7c161c9..1af09c4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.54 +pkgver=2.1.55 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -sha256sums=('34586055de1cb44b21ee269267dbf438cb3377cd47e357aafb2f8544885c0ad1' +sha256sums=('7e2ede7d6059667a8e133b553a13ac7eca5c4c10f1ab0d91aff78018c1586c05' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From fb633d6cb76fd06ca3b3006df003f254f9c238e3 Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sun, 22 Jan 2023 17:04:58 +0100 Subject: 2.1.56 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e73b9ee..f8a9e11 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.55 + pkgver = 2.1.56 pkgrel = 1 url = https://apps.ankiweb.net install = anki-official-binary-bundle.install @@ -11,9 +11,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.55/anki-2.1.55-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.56/anki-2.1.56-linux-qt6.tar.zst source = install_sh.patch - sha256sums = 7e2ede7d6059667a8e133b553a13ac7eca5c4c10f1ab0d91aff78018c1586c05 + sha256sums = 6e88acf3e5bf26fb5ed07a82e958bc59c5f3adcf32f1f2a85b7b6d6cf6ffbf5e sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 1af09c4..f10d164 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.55 +pkgver=2.1.56 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -sha256sums=('7e2ede7d6059667a8e133b553a13ac7eca5c4c10f1ab0d91aff78018c1586c05' +sha256sums=('6e88acf3e5bf26fb5ed07a82e958bc59c5f3adcf32f1f2a85b7b6d6cf6ffbf5e' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From 256d345af57db10ef245a26c65b561c299a010fb Mon Sep 17 00:00:00 2001 From: Kuklin István Alexander Date: Sun, 5 Feb 2023 18:20:03 +0100 Subject: 2.1.57 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f8a9e11..23d2ca8 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.56 + pkgver = 2.1.57 pkgrel = 1 url = https://apps.ankiweb.net install = anki-official-binary-bundle.install @@ -11,9 +11,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.56/anki-2.1.56-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.57/anki-2.1.57-linux-qt6.tar.zst source = install_sh.patch - sha256sums = 6e88acf3e5bf26fb5ed07a82e958bc59c5f3adcf32f1f2a85b7b6d6cf6ffbf5e + sha256sums = 5bc110c6f74e41160754aa181aefba2cd0072591ac55081dbcdb115ce05550a3 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index f10d164..2d8ba77 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.56 +pkgver=2.1.57 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +30,7 @@ source=( "install_sh.patch" ) noextract=() -sha256sums=('6e88acf3e5bf26fb5ed07a82e958bc59c5f3adcf32f1f2a85b7b6d6cf6ffbf5e' +sha256sums=('5bc110c6f74e41160754aa181aefba2cd0072591ac55081dbcdb115ce05550a3' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From c9204099800b9b96d09bdf331230835de42cba17 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sun, 5 Mar 2023 00:52:54 +0330 Subject: 2.1.58 --- .SRCINFO | 6 +++--- PKGBUILD | 12 +++++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 23d2ca8..2f7c107 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.57 + pkgver = 2.1.58 pkgrel = 1 url = https://apps.ankiweb.net install = anki-official-binary-bundle.install @@ -11,9 +11,9 @@ pkgbase = anki-official-binary-bundle provides = anki conflicts = anki conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.57/anki-2.1.57-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.58/anki-2.1.58-linux-qt6.tar.zst source = install_sh.patch - sha256sums = 5bc110c6f74e41160754aa181aefba2cd0072591ac55081dbcdb115ce05550a3 + sha256sums = f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 2d8ba77..3d072c7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,11 +1,9 @@ -# This is an example PKGBUILD file. Use this as a start to creating your own, -# and remove these comments. For more information, see 'man PKGBUILD'. -# NOTE: Please fill out the license field for your package! If it is unknown, -# then please put 'unknown'. - # Maintainer: Kuklin István +# Maintainer: Aria Moradi + + pkgname=anki-official-binary-bundle -pkgver=2.1.57 +pkgver=2.1.58 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -30,7 +28,7 @@ source=( "install_sh.patch" ) noextract=() -sha256sums=('5bc110c6f74e41160754aa181aefba2cd0072591ac55081dbcdb115ce05550a3' +sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') validpgpkeys=() -- cgit v1.2.3-70-g09d2 From 56b9ae0b6210e6b79450b02571b3cb5eaa5c37d7 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Tue, 14 Mar 2023 15:58:16 +0330 Subject: fix some things --- PKGBUILD | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 3d072c7..932bd74 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,5 +1,5 @@ # Maintainer: Kuklin István -# Maintainer: Aria Moradi +# Maintainer: Aria Moradi pkgname=anki-official-binary-bundle @@ -8,37 +8,29 @@ pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." arch=('x86_64') -url="https://apps.ankiweb.net" -license=('GNU AGPL') +url="https://github.com/ankitects/anki" +license=('AGPL') groups=() depends=('libxkbcommon-x11') makedepends=() -checkdepends=() optdepends=('mpv') provides=('anki') -conflicts=('anki' 'anki-git') +conflicts=('anki' 'anki-bin' 'anki-git') replaces=() -backup=() options=() install=$pkgname.install -changelog= -topdirname="anki-$pkgver-linux-qt6" -source=( - "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" - "install_sh.patch" -) -noextract=() +source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" + "install_sh.patch") sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') -validpgpkeys=() - +topdirname="anki-$pkgver-linux-qt6" prepare() { - cd "$srcdir"/"$topdirname" + cd "$srcdir/$topdirname" patch install.sh ../install_sh.patch } package() { cd "$topdirname" - PREFIX="$pkgdir"/usr/ ./install.sh + PREFIX="$pkgdir/usr/" ./install.sh } -- cgit v1.2.3-70-g09d2 From 420ad9785b3f30c6543c7b2fa64d2b8e78059204 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Tue, 14 Mar 2023 16:13:36 +0330 Subject: 2.1.60 --- .SRCINFO | 11 ++++++----- PKGBUILD | 12 ++++++------ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2f7c107..929533b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,19 +1,20 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.58 + pkgver = 2.1.60 pkgrel = 1 - url = https://apps.ankiweb.net + url = https://github.com/ankitects/anki install = anki-official-binary-bundle.install arch = x86_64 - license = GNU AGPL + license = AGPL depends = libxkbcommon-x11 optdepends = mpv provides = anki conflicts = anki + conflicts = anki-bin conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.58/anki-2.1.58-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.60/anki-2.1.60-linux-qt6.tar.zst source = install_sh.patch - sha256sums = f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56 + sha256sums = 21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 932bd74..9688177 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,8 @@ pkgname=anki-official-binary-bundle -pkgver=2.1.58 +pkgver=2.1.60 +_pkgname="anki-$pkgver-linux-qt6" pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -19,18 +20,17 @@ conflicts=('anki' 'anki-bin' 'anki-git') replaces=() options=() install=$pkgname.install -source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" +source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst" "install_sh.patch") -sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' +sha256sums=('21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') -topdirname="anki-$pkgver-linux-qt6" prepare() { - cd "$srcdir/$topdirname" + cd "$srcdir/$_pkgname" patch install.sh ../install_sh.patch } package() { - cd "$topdirname" + cd "$_pkgname" PREFIX="$pkgdir/usr/" ./install.sh } -- cgit v1.2.3-70-g09d2 From 76dc2426513a91ae6709ffbf2daf91b2a60c6b6a Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sat, 1 Apr 2023 17:05:27 +0330 Subject: 2.1.61 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 929533b..5f3319b 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.60 + pkgver = 2.1.61 pkgrel = 1 url = https://github.com/ankitects/anki install = anki-official-binary-bundle.install @@ -12,9 +12,9 @@ pkgbase = anki-official-binary-bundle conflicts = anki conflicts = anki-bin conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.60/anki-2.1.60-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.61/anki-2.1.61-linux-qt6.tar.zst source = install_sh.patch - sha256sums = 21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35 + sha256sums = 7fe3e778fdaf07b1c5c48de6be4ae6fe4caf74166029bbb9a583d4351e5710ee sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 9688177..7b5ffc9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=anki-official-binary-bundle -pkgver=2.1.60 +pkgver=2.1.61 _pkgname="anki-$pkgver-linux-qt6" pkgrel=1 epoch= @@ -22,7 +22,7 @@ options=() install=$pkgname.install source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst" "install_sh.patch") -sha256sums=('21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35' +sha256sums=('7fe3e778fdaf07b1c5c48de6be4ae6fe4caf74166029bbb9a583d4351e5710ee' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') prepare() { -- cgit v1.2.3-70-g09d2 From 10f696ab36a91a0747ec6159a345623e4fb9cf35 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Tue, 2 May 2023 21:42:52 +0330 Subject: 2.1.62 --- .SRCINFO | 4 ++-- PKGBUILD | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 5f3319b..37bec0a 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.61 + pkgver = 2.1.62 pkgrel = 1 url = https://github.com/ankitects/anki install = anki-official-binary-bundle.install @@ -12,7 +12,7 @@ pkgbase = anki-official-binary-bundle conflicts = anki conflicts = anki-bin conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.61/anki-2.1.61-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.62/anki-2.1.62-linux-qt6.tar.zst source = install_sh.patch sha256sums = 7fe3e778fdaf07b1c5c48de6be4ae6fe4caf74166029bbb9a583d4351e5710ee sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c diff --git a/PKGBUILD b/PKGBUILD index 7b5ffc9..be4fac3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=anki-official-binary-bundle -pkgver=2.1.61 +pkgver=2.1.62 _pkgname="anki-$pkgver-linux-qt6" pkgrel=1 epoch= -- cgit v1.2.3-70-g09d2 From 23a82ef8aa6572a85bcfcb99714068291a3c1f26 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Wed, 3 May 2023 10:22:44 +0330 Subject: fix checksums --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 37bec0a..ab40af8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. pkgver = 2.1.62 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ankitects/anki install = anki-official-binary-bundle.install arch = x86_64 @@ -14,7 +14,7 @@ pkgbase = anki-official-binary-bundle conflicts = anki-git source = https://github.com/ankitects/anki/releases/download/2.1.62/anki-2.1.62-linux-qt6.tar.zst source = install_sh.patch - sha256sums = 7fe3e778fdaf07b1c5c48de6be4ae6fe4caf74166029bbb9a583d4351e5710ee + sha256sums = becb91fa90ea8cf19e8e5c6b0cf0b12959ef4e29510c61a13030ca490855c554 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index be4fac3..3712782 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=anki-official-binary-bundle pkgver=2.1.62 _pkgname="anki-$pkgver-linux-qt6" -pkgrel=1 +pkgrel=2 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." arch=('x86_64') @@ -22,7 +22,7 @@ options=() install=$pkgname.install source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst" "install_sh.patch") -sha256sums=('7fe3e778fdaf07b1c5c48de6be4ae6fe4caf74166029bbb9a583d4351e5710ee' +sha256sums=('becb91fa90ea8cf19e8e5c6b0cf0b12959ef4e29510c61a13030ca490855c554' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') prepare() { -- cgit v1.2.3-70-g09d2 From 856cf628225ecfbdb0ceb5dd0e8ce741d43799db Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Wed, 17 May 2023 00:57:39 +0330 Subject: 2.1.63 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ab40af8..effb064 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = anki-official-binary-bundle pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.62 - pkgrel = 2 + pkgver = 2.1.63 + pkgrel = 1 url = https://github.com/ankitects/anki install = anki-official-binary-bundle.install arch = x86_64 @@ -12,9 +12,9 @@ pkgbase = anki-official-binary-bundle conflicts = anki conflicts = anki-bin conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.62/anki-2.1.62-linux-qt6.tar.zst + source = https://github.com/ankitects/anki/releases/download/2.1.63/anki-2.1.63-linux-qt6.tar.zst source = install_sh.patch - sha256sums = becb91fa90ea8cf19e8e5c6b0cf0b12959ef4e29510c61a13030ca490855c554 + sha256sums = 022a0b9b3f27bebbd6d5ce5ee5c61fb3fcc4f98a80e03fd7d8651e92e80e846a sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c pkgname = anki-official-binary-bundle diff --git a/PKGBUILD b/PKGBUILD index 3712782..364354b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,9 +3,9 @@ pkgname=anki-official-binary-bundle -pkgver=2.1.62 +pkgver=2.1.63 _pkgname="anki-$pkgver-linux-qt6" -pkgrel=2 +pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." arch=('x86_64') @@ -22,7 +22,7 @@ options=() install=$pkgname.install source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst" "install_sh.patch") -sha256sums=('becb91fa90ea8cf19e8e5c6b0cf0b12959ef4e29510c61a13030ca490855c554' +sha256sums=('022a0b9b3f27bebbd6d5ce5ee5c61fb3fcc4f98a80e03fd7d8651e92e80e846a' '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') prepare() { -- cgit v1.2.3-70-g09d2