summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuklin István2019-06-05 11:19:10 +0200
committerKuklin István2019-06-05 11:19:26 +0200
commit9d07da18a196beb9bb8c2ff5e12d1fe3a3413fbc (patch)
tree786b6ada5c7aaf49ab68856179074b65db2d93ec
parent4d345c711db1e17b6ff75efae97dd8c254984cf4 (diff)
downloadpackages-9d07da18a196beb9bb8c2ff5e12d1fe3a3413fbc.tar.gz
packages-9d07da18a196beb9bb8c2ff5e12d1fe3a3413fbc.tar.bz2
packages-9d07da18a196beb9bb8c2ff5e12d1fe3a3413fbc.zip
2.1.13
-rw-r--r--PKGBUILD20
-rw-r--r--prefix-fix.patch4
-rw-r--r--remove_xdg_cmds_from_makefile.patch4
3 files changed, 17 insertions, 11 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() {
diff --git a/prefix-fix.patch b/prefix-fix.patch
index 8c68ba6..af7e059 100644
--- a/prefix-fix.patch
+++ b/prefix-fix.patch
@@ -1,5 +1,5 @@
1--- anki-2.1.12-linux-amd64/Makefile.orig 1--- anki/Makefile.orig
2+++ anki-2.1.12-linux-amd64/Makefile 2+++ anki/Makefile
3@@ -10,7 +10,7 @@ 3@@ -10,7 +10,7 @@
4 mkdir -p ${PREFIX}/share/anki 4 mkdir -p ${PREFIX}/share/anki
5 cp -av * ${PREFIX}/share/anki/ 5 cp -av * ${PREFIX}/share/anki/
diff --git a/remove_xdg_cmds_from_makefile.patch b/remove_xdg_cmds_from_makefile.patch
index fbb96a0..a3a4661 100644
--- a/remove_xdg_cmds_from_makefile.patch
+++ b/remove_xdg_cmds_from_makefile.patch
@@ -1,5 +1,5 @@
1--- anki-2.1.12-linux-amd64/Makefile.old 1--- anki/Makefile.old
2+++ anki-2.1.12-linux-amd64/Makefile 2+++ anki/Makefile
3@@ -20,14 +20,14 @@ 3@@ -20,14 +20,14 @@
4 mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ 4 mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\
5 mv anki.desktop ${PREFIX}/share/applications/;\ 5 mv anki.desktop ${PREFIX}/share/applications/;\