From 9d07da18a196beb9bb8c2ff5e12d1fe3a3413fbc Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Wed, 5 Jun 2019 11:19:10 +0200 Subject: 2.1.13 --- PKGBUILD | 20 +++++++++++++------- prefix-fix.patch | 4 ++-- remove_xdg_cmds_from_makefile.patch | 4 ++-- 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 @@ # Maintainer: Kuklin István pkgname=anki-official-binary-bundle -pkgver=2.1.12 +pkgver=2.1.13 pkgrel=1 epoch= pkgdesc="The official binary shipped with the tested versions of the dependent libraries." @@ -25,19 +25,25 @@ options=() install= changelog= topdirname="anki-$pkgver-linux-amd64" -source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch") +source=( + "https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" + "remove_xdg_cmds_from_makefile.patch" + "prefix-fix.patch" +) noextract=() md5sums=( - '5c0e65479907b178ce7a9cb7db5c8238' - 'f0aa931cc56a39efa3cef0c2ddbaea78' - '2d79e7014d1242e04dc398415bfdd5d8' + '1cbc4cf03f5f41fdbf694b931cb512c0' + '81e1cb8bfb5122319b141ea25e536ef6' + '82a5d4f63bbc29e6a80043dd95973b4f' ) validpgpkeys=() prepare() { cd "$srcdir" - patch -p0 -i remove_xdg_cmds_from_makefile.patch - patch -p0 -i prefix-fix.patch + ln -s "$topdirname" anki + patch -p0 -i remove_xdg_cmds_from_makefile.patch + patch -p0 -i prefix-fix.patch + rm anki } build() { 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 @@ ---- anki-2.1.12-linux-amd64/Makefile.orig -+++ anki-2.1.12-linux-amd64/Makefile +--- anki/Makefile.orig ++++ anki/Makefile @@ -10,7 +10,7 @@ mkdir -p ${PREFIX}/share/anki 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 @@ ---- anki-2.1.12-linux-amd64/Makefile.old -+++ anki-2.1.12-linux-amd64/Makefile +--- anki/Makefile.old ++++ anki/Makefile @@ -20,14 +20,14 @@ mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\ mv anki.desktop ${PREFIX}/share/applications/;\ -- cgit v1.2.3-70-g09d2