summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarcell Meszaros2023-11-06 15:03:06 +0100
committerMarcell Meszaros2023-11-06 15:10:23 +0100
commit5e970b1554e638e9c0b3b34e370a70f88c8096c4 (patch)
tree82964d6a34b8a6f53832763de2507e8e35182b2f /PKGBUILD
parent153c50b13874a69fcb79b49668470d87af58d170 (diff)
downloadaur-5e970b1554e638e9c0b3b34e370a70f88c8096c4.tar.gz
turn this into a meta-pkg to migrate users to anki-bin
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 8 insertions, 32 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 07982befbf6d..43fcf43005b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,13 @@
-# Maintainer: Yigit Sever <yigit at yigitsever dot com>
+# Contributor: Yigit Sever <yigit at yigitsever dot com>
# Contributor: Kuklin István <kuklinistvan@zoho.com>
# Contributor: Aria Moradi <aria.moradi007 at gmail dot com>
-
pkgname=anki-official-binary-bundle
-pkgver=2.1.66
-_pkgname="anki-$pkgver-linux-qt6"
+pkgver=any
pkgrel=1
-epoch=
-pkgdesc="The official binary shipped with the tested versions of the dependent libraries."
-arch=('x86_64')
-url="https://github.com/ankitects/anki"
-license=('AGPL')
-groups=()
-depends=('libxkbcommon-x11')
-makedepends=()
-optdepends=('mpv')
-provides=('anki')
-conflicts=('anki' 'anki-bin' 'anki-git')
-replaces=()
-options=()
-install=$pkgname.install
-source=("https://github.com/ankitects/anki/releases/download/${pkgver}/${_pkgname}.tar.zst"
- "install_sh.patch")
-sha256sums=('3f53c42b3d2f6e53f188bae2df842b3f4faa3ac96d26cbcf2f62559988f5c058'
- '991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c')
-
-prepare() {
- cd "$srcdir/$_pkgname"
- patch install.sh ../install_sh.patch
-}
-
-package() {
- cd "$_pkgname"
- PREFIX="$pkgdir/usr/" ./install.sh
-}
+epoch=1
+pkgdesc="[Meta-PKG] migrate to anki-bin, delete this meta-pkg"
+arch=('any')
+url="https://aur.archlinux.org/packages/anki-bin"
+license=('AGPL3')
+depends=('anki-bin')