From 28dae33b667443139670b4e05115049908f2ece2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 2 Nov 2023 19:19:31 +0300 Subject: Deleted package: anki-official-binary-bundle Deleted package: anki-official-binary-bundle --- anki-official-binary-bundle/.SRCINFO | 20 ------------ anki-official-binary-bundle/.gitignore | 4 --- anki-official-binary-bundle/PKGBUILD | 37 ---------------------- .../anki-official-binary-bundle.install | 9 ------ anki-official-binary-bundle/install_sh.patch | 27 ---------------- 5 files changed, 97 deletions(-) delete mode 100644 anki-official-binary-bundle/.SRCINFO delete mode 100644 anki-official-binary-bundle/.gitignore delete mode 100644 anki-official-binary-bundle/PKGBUILD delete mode 100644 anki-official-binary-bundle/anki-official-binary-bundle.install delete mode 100644 anki-official-binary-bundle/install_sh.patch (limited to 'anki-official-binary-bundle') diff --git a/anki-official-binary-bundle/.SRCINFO b/anki-official-binary-bundle/.SRCINFO deleted file mode 100644 index b001845..0000000 --- a/anki-official-binary-bundle/.SRCINFO +++ /dev/null @@ -1,20 +0,0 @@ -pkgbase = anki-official-binary-bundle - pkgdesc = The official binary shipped with the tested versions of the dependent libraries. - pkgver = 2.1.66 - pkgrel = 1 - url = https://github.com/ankitects/anki - install = anki-official-binary-bundle.install - arch = x86_64 - license = AGPL - depends = libxkbcommon-x11 - optdepends = mpv - provides = anki - conflicts = anki - conflicts = anki-bin - conflicts = anki-git - source = https://github.com/ankitects/anki/releases/download/2.1.66/anki-2.1.66-linux-qt6.tar.zst - source = install_sh.patch - sha256sums = 3f53c42b3d2f6e53f188bae2df842b3f4faa3ac96d26cbcf2f62559988f5c058 - sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c - -pkgname = anki-official-binary-bundle diff --git a/anki-official-binary-bundle/.gitignore b/anki-official-binary-bundle/.gitignore deleted file mode 100644 index 2bdc6ae..0000000 --- a/anki-official-binary-bundle/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -*.tar.bz2 -*.tar.xz -src -pkg diff --git a/anki-official-binary-bundle/PKGBUILD b/anki-official-binary-bundle/PKGBUILD deleted file mode 100644 index 07982be..0000000 --- a/anki-official-binary-bundle/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Yigit Sever -# Contributor: Kuklin István -# Contributor: Aria Moradi - - -pkgname=anki-official-binary-bundle -pkgver=2.1.66 -_pkgname="anki-$pkgver-linux-qt6" -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 -} diff --git a/anki-official-binary-bundle/anki-official-binary-bundle.install b/anki-official-binary-bundle/anki-official-binary-bundle.install deleted file mode 100644 index e54a631..0000000 --- a/anki-official-binary-bundle/anki-official-binary-bundle.install +++ /dev/null @@ -1,9 +0,0 @@ -post_install () { - xdg-mime install /usr/share/anki/anki.xml --novendor - xdg-mime default /usr/share/applications/anki.desktop application/x-colpkg - xdg-mime default /usr/share/applications/anki.desktop application/x-apkg -} - -pre_remove() { - xdg-mime uninstall /usr/share/anki/anki.xml -} diff --git a/anki-official-binary-bundle/install_sh.patch b/anki-official-binary-bundle/install_sh.patch deleted file mode 100644 index e76e1af..0000000 --- a/anki-official-binary-bundle/install_sh.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- install.sh.orig 2022-06-06 18:29:11.117752422 -0500 -+++ install.sh 2022-06-06 18:40:38.153466913 -0500 -@@ -13,9 +13,10 @@ - - rm -rf "$PREFIX"/share/anki "$PREFIX"/bin/anki - mkdir -p "$PREFIX"/share/anki --cp -av --no-preserve=owner,context * "$PREFIX"/share/anki/ -+shopt -s extglob -+cp -av --no-preserve=owner,context !(*install.sh) "$PREFIX"/share/anki/ - mkdir -p "$PREFIX"/bin --ln -sf "$PREFIX"/share/anki/anki "$PREFIX"/bin/anki -+ln -sf ../share/anki/anki "$PREFIX"/bin/anki - # fix a previous packaging issue where we created this as a file - (test -f "$PREFIX"/share/applications && rm "$PREFIX"/share/applications)||true - mkdir -p "$PREFIX"/share/pixmaps -@@ -26,11 +26,4 @@ - mv -Z anki.desktop "$PREFIX"/share/applications/;\ - mv -Z anki.1 "$PREFIX"/share/man/man1/) - --xdg-mime install anki.xml --novendor --xdg-mime default anki.desktop application/x-colpkg --xdg-mime default anki.desktop application/x-apkg --xdg-mime default anki.desktop application/x-ankiaddon -- --rm install.sh -- - echo "Install complete. Type 'anki' to run." -- cgit v1.2.3-70-g09d2