diff options
Diffstat (limited to 'anki-official-binary-bundle/PKGBUILD')
-rw-r--r-- | anki-official-binary-bundle/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/anki-official-binary-bundle/PKGBUILD b/anki-official-binary-bundle/PKGBUILD new file mode 100644 index 0000000..07982be --- /dev/null +++ b/anki-official-binary-bundle/PKGBUILD | |||
@@ -0,0 +1,37 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Kuklin István <kuklinistvan@zoho.com> | ||
3 | # Contributor: Aria Moradi <aria.moradi007 at gmail dot com> | ||
4 | |||
5 | |||
6 | pkgname=anki-official-binary-bundle | ||
7 | pkgver=2.1.66 | ||
8 | _pkgname="anki-$pkgver-linux-qt6" | ||
9 | pkgrel=1 | ||
10 | epoch= | ||
11 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." | ||
12 | arch=('x86_64') | ||
13 | url="https://github.com/ankitects/anki" | ||
14 | license=('AGPL') | ||
15 | groups=() | ||
16 | depends=('libxkbcommon-x11') | ||
17 | makedepends=() | ||
18 | optdepends=('mpv') | ||
19 | provides=('anki') | ||
20 | conflicts=('anki' 'anki-bin' 'anki-git') | ||
21 | replaces=() | ||
22 | options=() | ||
23 | install=$pkgname.install | ||
24 | source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst" | ||
25 | "install_sh.patch") | ||
26 | sha256sums=('3f53c42b3d2f6e53f188bae2df842b3f4faa3ac96d26cbcf2f62559988f5c058' | ||
27 | '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') | ||
28 | |||
29 | prepare() { | ||
30 | cd "$srcdir/$_pkgname" | ||
31 | patch install.sh ../install_sh.patch | ||
32 | } | ||
33 | |||
34 | package() { | ||
35 | cd "$_pkgname" | ||
36 | PREFIX="$pkgdir/usr/" ./install.sh | ||
37 | } | ||