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