summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKuklin István Alexander2020-12-30 15:56:31 +0100
committerKuklin István Alexander2020-12-30 15:56:31 +0100
commitb6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3 (patch)
tree0ed59871358bd9515347f78c87698d24a612bc56 /PKGBUILD
parent00ed03223ce0b0079612ab04115815c535a9c487 (diff)
downloadpackages-b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3.tar.gz
packages-b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3.tar.bz2
packages-b6104299c7d3b9bbf5f03cb53dfcb1bead1b1df3.zip
2.1.38
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ca6d7d1..1ed0341 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
5 5
6# Maintainer: Kuklin István <kuklinistvan@zoho.com> 6# Maintainer: Kuklin István <kuklinistvan@zoho.com>
7pkgname=anki-official-binary-bundle 7pkgname=anki-official-binary-bundle
8pkgver=2.1.35 8pkgver=2.1.38
9pkgrel=1 9pkgrel=1
10epoch= 10epoch=
11pkgdesc="The official binary shipped with the tested versions of the dependent libraries." 11pkgdesc="The official binary shipped with the tested versions of the dependent libraries."
@@ -13,10 +13,10 @@ arch=('x86_64')
13url="https://apps.ankiweb.net" 13url="https://apps.ankiweb.net"
14license=('GNU AGPL') 14license=('GNU AGPL')
15groups=() 15groups=()
16depends=() 16depends=('libxkbcommon-x11')
17makedepends=() 17makedepends=()
18checkdepends=() 18checkdepends=()
19optdepends=() 19optdepends=('mpv')
20provides=('anki') 20provides=('anki')
21conflicts=('anki' 'anki-git') 21conflicts=('anki' 'anki-git')
22replaces=() 22replaces=()
@@ -24,33 +24,29 @@ backup=()
24options=() 24options=()
25install= 25install=
26changelog= 26changelog=
27topdirname="anki-$pkgver-linux-amd64" 27topdirname="anki-$pkgver-linux"
28source=( 28source=(
29 "https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" 29 "https://github.com/ankitects/anki/releases/download/${pkgver}/${topdirname}.tar.bz2"
30 "remove_xdg_cmds_from_makefile.patch" 30 "install_sh.patch"
31 "prefix-fix.patch"
32) 31)
33noextract=() 32noextract=()
34md5sums=('d7ad8af7c1d9ddd92bb14d9d4a10ea7c' 33md5sums=('ab70980ca8b87a6f0fd67d05fc7a37d4'
35 '0eb542757f6b15d9904a53496627c76b' 34 '0ffca54471c2b5b2a300a68a93e135db')
36 '82a5d4f63bbc29e6a80043dd95973b4f')
37 35
38validpgpkeys=() 36validpgpkeys=()
39 37
40prepare() { 38prepare() {
41 cd "$srcdir" 39 cd "$srcdir"
42 ln -s "$topdirname" anki 40 ln -s "$topdirname" anki
43 patch -p1 -i remove_xdg_cmds_from_makefile.patch 41 patch -p0 -i install_sh.patch anki/install.sh
44 patch -p0 -i prefix-fix.patch
45 rm anki 42 rm anki
46} 43}
47 44
48build() { 45build() {
49 cd "$topdirname" 46 cd "$topdirname"
50 make
51} 47}
52 48
53package() { 49package() {
54 cd "$topdirname" 50 cd "$topdirname"
55 make PREFIX="$pkgdir"/usr/ install 51 PREFIX="$pkgdir"/usr/ ./install.sh
56} 52}