diff options
| -rw-r--r-- | PKGBUILD | 26 |
1 files changed, 9 insertions, 17 deletions
| @@ -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 | ||
| 5 | pkgname=anki-official-binary-bundle | 5 | pkgname=anki-official-binary-bundle |
| @@ -8,37 +8,29 @@ pkgrel=1 | |||
| 8 | epoch= | 8 | epoch= |
| 9 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." | 9 | pkgdesc="The official binary shipped with the tested versions of the dependent libraries." |
| 10 | arch=('x86_64') | 10 | arch=('x86_64') |
| 11 | url="https://apps.ankiweb.net" | 11 | url="https://github.com/ankitects/anki" |
| 12 | license=('GNU AGPL') | 12 | license=('AGPL') |
| 13 | groups=() | 13 | groups=() |
| 14 | depends=('libxkbcommon-x11') | 14 | depends=('libxkbcommon-x11') |
| 15 | makedepends=() | 15 | makedepends=() |
| 16 | checkdepends=() | ||
| 17 | optdepends=('mpv') | 16 | optdepends=('mpv') |
| 18 | provides=('anki') | 17 | provides=('anki') |
| 19 | conflicts=('anki' 'anki-git') | 18 | conflicts=('anki' 'anki-bin' 'anki-git') |
| 20 | replaces=() | 19 | replaces=() |
| 21 | backup=() | ||
| 22 | options=() | 20 | options=() |
| 23 | install=$pkgname.install | 21 | install=$pkgname.install |
| 24 | changelog= | 22 | source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" |
| 25 | topdirname="anki-$pkgver-linux-qt6" | 23 | "install_sh.patch") |
| 26 | source=( | ||
| 27 | "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.zst" | ||
| 28 | "install_sh.patch" | ||
| 29 | ) | ||
| 30 | noextract=() | ||
| 31 | sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' | 24 | sha256sums=('f6b94d4a16dda2c09aeb47f8265842d78765de3d83c6a16bdc680e38c59d5c56' |
| 32 | '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') | 25 | '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c') |
| 33 | 26 | ||
| 34 | validpgpkeys=() | 27 | topdirname="anki-$pkgver-linux-qt6" |
| 35 | |||
| 36 | prepare() { | 28 | prepare() { |
| 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 | ||
| 41 | package() { | 33 | package() { |
| 42 | cd "$topdirname" | 34 | cd "$topdirname" |
| 43 | PREFIX="$pkgdir"/usr/ ./install.sh | 35 | PREFIX="$pkgdir/usr/" ./install.sh |
| 44 | } | 36 | } |
