summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAria Moradi2023-03-14 16:13:36 +0330
committerAria Moradi2023-03-14 16:13:36 +0330
commit420ad9785b3f30c6543c7b2fa64d2b8e78059204 (patch)
treef991d3495d8bd61a4a7edf1b662ae2370da40441
parent56b9ae0b6210e6b79450b02571b3cb5eaa5c37d7 (diff)
downloadpackages-420ad9785b3f30c6543c7b2fa64d2b8e78059204.tar.gz
packages-420ad9785b3f30c6543c7b2fa64d2b8e78059204.tar.bz2
packages-420ad9785b3f30c6543c7b2fa64d2b8e78059204.zip
2.1.60
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD12
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 @@
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.58 3 pkgver = 2.1.60
4 pkgrel = 1 4 pkgrel = 1
5 url = https://apps.ankiweb.net 5 url = https://github.com/ankitects/anki
6 install = anki-official-binary-bundle.install 6 install = anki-official-binary-bundle.install
7 arch = x86_64 7 arch = x86_64
8 license = GNU AGPL 8 license = AGPL
9 depends = libxkbcommon-x11 9 depends = libxkbcommon-x11
10 optdepends = mpv 10 optdepends = mpv
11 provides = anki 11 provides = anki
12 conflicts = anki 12 conflicts = anki
13 conflicts = anki-bin
13 conflicts = anki-git 14 conflicts = anki-git
14 source = https://github.com/ankitects/anki/releases/download/2.1.58/anki-2.1.58-linux-qt6.tar.zst 15 source = https://github.com/ankitects/anki/releases/download/2.1.60/anki-2.1.60-linux-qt6.tar.zst
15 source = install_sh.patch 16 source = install_sh.patch
16 sha256sums = f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56 17 sha256sums = 21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35
17 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c 18 sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c
18 19
19pkgname = anki-official-binary-bundle 20pkgname = anki-official-binary-bundle
diff --git a/PKGBUILD b/PKGBUILD
index 932bd74..9688177 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,8 @@
3 3
4 4
5pkgname=anki-official-binary-bundle 5pkgname=anki-official-binary-bundle
6pkgver=2.1.58 6pkgver=2.1.60
7_pkgname="anki-$pkgver-linux-qt6"
7pkgrel=1 8pkgrel=1
8epoch= 9epoch=
9pkgdesc="The official binary shipped with the tested versions of the dependent libraries." 10pkgdesc="The official binary shipped with the tested versions of the dependent libraries."
@@ -19,18 +20,17 @@ conflicts=('anki' 'anki-bin' 'anki-git')
19replaces=() 20replaces=()
20options=() 21options=()
21install=$pkgname.install 22install=$pkgname.install
22source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" 23source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst"
23 "install_sh.patch") 24 "install_sh.patch")
24sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' 25sha256sums=('21780854c71a6414dab11b5e673ded45a0d0dabb167a5d9c3689dd2b6567cd35'
25 '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') 26 '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c')
26 27
27topdirname="anki-$pkgver-linux-qt6"
28prepare() { 28prepare() {
29 cd "$srcdir/$topdirname" 29 cd "$srcdir/$_pkgname"
30 patch install.sh ../install_sh.patch 30 patch install.sh ../install_sh.patch
31} 31}
32 32
33package() { 33package() {
34 cd "$topdirname" 34 cd "$_pkgname"
35 PREFIX="$pkgdir/usr/" ./install.sh 35 PREFIX="$pkgdir/usr/" ./install.sh
36} 36}