diff options
author | Yigit Sever | 2023-11-02 19:19:31 +0300 |
---|---|---|
committer | Yigit Sever | 2023-11-02 19:20:09 +0300 |
commit | 28dae33b667443139670b4e05115049908f2ece2 (patch) | |
tree | c76dcc98e25e06679fb5a365d4cf58b1275959d4 /anki-official-binary-bundle | |
parent | c8bb376420cdd7545cc5a597b289397299b8830b (diff) | |
download | packages-28dae33b667443139670b4e05115049908f2ece2.tar.gz packages-28dae33b667443139670b4e05115049908f2ece2.tar.bz2 packages-28dae33b667443139670b4e05115049908f2ece2.zip |
Deleted package: anki-official-binary-bundle
Deleted package: anki-official-binary-bundle
Diffstat (limited to 'anki-official-binary-bundle')
-rw-r--r-- | anki-official-binary-bundle/.SRCINFO | 20 | ||||
-rw-r--r-- | anki-official-binary-bundle/.gitignore | 4 | ||||
-rw-r--r-- | anki-official-binary-bundle/PKGBUILD | 37 | ||||
-rw-r--r-- | anki-official-binary-bundle/anki-official-binary-bundle.install | 9 | ||||
-rw-r--r-- | anki-official-binary-bundle/install_sh.patch | 27 |
5 files changed, 0 insertions, 97 deletions
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 @@ | |||
1 | pkgbase = anki-official-binary-bundle | ||
2 | pkgdesc = The official binary shipped with the tested versions of the dependent libraries. | ||
3 | pkgver = 2.1.66 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/ankitects/anki | ||
6 | install = anki-official-binary-bundle.install | ||
7 | arch = x86_64 | ||
8 | license = AGPL | ||
9 | depends = libxkbcommon-x11 | ||
10 | optdepends = mpv | ||
11 | provides = anki | ||
12 | conflicts = anki | ||
13 | conflicts = anki-bin | ||
14 | conflicts = anki-git | ||
15 | source = https://github.com/ankitects/anki/releases/download/2.1.66/anki-2.1.66-linux-qt6.tar.zst | ||
16 | source = install_sh.patch | ||
17 | sha256sums = 3f53c42b3d2f6e53f188bae2df842b3f4faa3ac96d26cbcf2f62559988f5c058 | ||
18 | sha256sums = 991297cb02434d753f55980205a22971ed98655b0f62f0104ae4692155355d8c | ||
19 | |||
20 | 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 @@ | |||
1 | *.tar.bz2 | ||
2 | *.tar.xz | ||
3 | src | ||
4 | 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 @@ | |||
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 | } | ||
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 @@ | |||
1 | post_install () { | ||
2 | xdg-mime install /usr/share/anki/anki.xml --novendor | ||
3 | xdg-mime default /usr/share/applications/anki.desktop application/x-colpkg | ||
4 | xdg-mime default /usr/share/applications/anki.desktop application/x-apkg | ||
5 | } | ||
6 | |||
7 | pre_remove() { | ||
8 | xdg-mime uninstall /usr/share/anki/anki.xml | ||
9 | } | ||
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 @@ | |||
1 | --- install.sh.orig 2022-06-06 18:29:11.117752422 -0500 | ||
2 | +++ install.sh 2022-06-06 18:40:38.153466913 -0500 | ||
3 | @@ -13,9 +13,10 @@ | ||
4 | |||
5 | rm -rf "$PREFIX"/share/anki "$PREFIX"/bin/anki | ||
6 | mkdir -p "$PREFIX"/share/anki | ||
7 | -cp -av --no-preserve=owner,context * "$PREFIX"/share/anki/ | ||
8 | +shopt -s extglob | ||
9 | +cp -av --no-preserve=owner,context !(*install.sh) "$PREFIX"/share/anki/ | ||
10 | mkdir -p "$PREFIX"/bin | ||
11 | -ln -sf "$PREFIX"/share/anki/anki "$PREFIX"/bin/anki | ||
12 | +ln -sf ../share/anki/anki "$PREFIX"/bin/anki | ||
13 | # fix a previous packaging issue where we created this as a file | ||
14 | (test -f "$PREFIX"/share/applications && rm "$PREFIX"/share/applications)||true | ||
15 | mkdir -p "$PREFIX"/share/pixmaps | ||
16 | @@ -26,11 +26,4 @@ | ||
17 | mv -Z anki.desktop "$PREFIX"/share/applications/;\ | ||
18 | mv -Z anki.1 "$PREFIX"/share/man/man1/) | ||
19 | |||
20 | -xdg-mime install anki.xml --novendor | ||
21 | -xdg-mime default anki.desktop application/x-colpkg | ||
22 | -xdg-mime default anki.desktop application/x-apkg | ||
23 | -xdg-mime default anki.desktop application/x-ankiaddon | ||
24 | - | ||
25 | -rm install.sh | ||
26 | - | ||
27 | echo "Install complete. Type 'anki' to run." | ||