summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4046121..53a7adf 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.12 8pkgver=2.1.13
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."
@@ -25,19 +25,25 @@ options=()
25install= 25install=
26changelog= 26changelog=
27topdirname="anki-$pkgver-linux-amd64" 27topdirname="anki-$pkgver-linux-amd64"
28source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") 28source=(
29 "https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2"
30 "remove_xdg_cmds_from_makefile.patch"
31 "prefix-fix.patch"
32)
29noextract=() 33noextract=()
30md5sums=( 34md5sums=(
31 '5c0e65479907b178ce7a9cb7db5c8238' 35 '1cbc4cf03f5f41fdbf694b931cb512c0'
32 'f0aa931cc56a39efa3cef0c2ddbaea78' 36 '81e1cb8bfb5122319b141ea25e536ef6'
33 '2d79e7014d1242e04dc398415bfdd5d8' 37 '82a5d4f63bbc29e6a80043dd95973b4f'
34) 38)
35validpgpkeys=() 39validpgpkeys=()
36 40
37prepare() { 41prepare() {
38 cd "$srcdir" 42 cd "$srcdir"
39 patch -p0 -i remove_xdg_cmds_from_makefile.patch 43 ln -s "$topdirname" anki
40 patch -p0 -i prefix-fix.patch 44 patch -p0 -i remove_xdg_cmds_from_makefile.patch
45 patch -p0 -i prefix-fix.patch
46 rm anki
41} 47}
42 48
43build() { 49build() {