summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAria Moradi2023-03-14 15:58:16 +0330
committerAria Moradi2023-03-14 15:58:16 +0330
commit56b9ae0b6210e6b79450b02571b3cb5eaa5c37d7 (patch)
tree63d16ef1bb1ecdc2ec3e3ab92784cd5aca98c9f7
parentc9204099800b9b96d09bdf331230835de42cba17 (diff)
downloadpackages-56b9ae0b6210e6b79450b02571b3cb5eaa5c37d7.tar.gz
packages-56b9ae0b6210e6b79450b02571b3cb5eaa5c37d7.tar.bz2
packages-56b9ae0b6210e6b79450b02571b3cb5eaa5c37d7.zip
fix some things
-rw-r--r--PKGBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3d072c7..932bd74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
1# Maintainer: Kuklin István <kuklinistvan@zoho.com> 1# Maintainer: Kuklin István <kuklinistvan@zoho.com>
2# Maintainer: Aria Moradi <aria.moradi007 at zoho dot com> 2# Maintainer: Aria Moradi <aria.moradi007 at gmail dot com>
3 3
4 4
5pkgname=anki-official-binary-bundle 5pkgname=anki-official-binary-bundle
@@ -8,37 +8,29 @@ pkgrel=1
8epoch= 8epoch=
9pkgdesc="The official binary shipped with the tested versions of the dependent libraries." 9pkgdesc="The official binary shipped with the tested versions of the dependent libraries."
10arch=('x86_64') 10arch=('x86_64')
11url="https://apps.ankiweb.net" 11url="https://github.com/ankitects/anki"
12license=('GNU AGPL') 12license=('AGPL')
13groups=() 13groups=()
14depends=('libxkbcommon-x11') 14depends=('libxkbcommon-x11')
15makedepends=() 15makedepends=()
16checkdepends=()
17optdepends=('mpv') 16optdepends=('mpv')
18provides=('anki') 17provides=('anki')
19conflicts=('anki' 'anki-git') 18conflicts=('anki' 'anki-bin' 'anki-git')
20replaces=() 19replaces=()
21backup=()
22options=() 20options=()
23install=$pkgname.install 21install=$pkgname.install
24changelog= 22source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst"
25topdirname="anki-$pkgver-linux-qt6" 23 "install_sh.patch")
26source=(
27 "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst"
28 "install_sh.patch"
29)
30noextract=()
31sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' 24sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56'
32 '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') 25 '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c')
33 26
34validpgpkeys=() 27topdirname="anki-$pkgver-linux-qt6"
35
36prepare() { 28prepare() {
37 cd "$srcdir"/"$topdirname" 29 cd "$srcdir/$topdirname"
38 patch install.sh ../install_sh.patch 30 patch install.sh ../install_sh.patch
39} 31}
40 32
41package() { 33package() {
42 cd "$topdirname" 34 cd "$topdirname"
43 PREFIX="$pkgdir"/usr/ ./install.sh 35 PREFIX="$pkgdir/usr/" ./install.sh
44} 36}