summaryrefslogtreecommitdiff
path: root/libre/okular/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/okular/PKGBUILD')
-rw-r--r--libre/okular/PKGBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/libre/okular/PKGBUILD b/libre/okular/PKGBUILD
index a6b468476..e5652e177 100644
--- a/libre/okular/PKGBUILD
+++ b/libre/okular/PKGBUILD
@@ -6,8 +6,8 @@
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>
pkgname=okular
-pkgver=19.12.3
-pkgrel=3
+pkgver=20.04.0
+pkgrel=1
pkgrel+=.parabola1
pkgdesc='Document Viewer'
pkgdesc+=', with copy-protection anti-feature turned off by default and without nonfree unrar recommendation'
@@ -22,12 +22,10 @@ optdepends=('ebook-tools: mobi and epub support'
'kdegraphics-mobipocket: mobi support' 'libzip: CHM support'
'khtml: CHM support' 'chmlib: CHM support' 'calligra: ODT and ODP support'
'unarchiver: Comic Book Archive support')
-source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
- CVE-2020-9359.patch::"https://invent.kde.org/kde/okular/-/commit/6a93a033.patch")
+source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
source+=('libre.patch')
-sha256sums=('c5de22cc4292e3b7adae3f6ef6566dcba33a1dd5995fb0b968ea3e705a4c04e0'
+sha256sums=('1b6521b4eaa0a0eb41a39c3f84252d9833f6d26fa410afaef815ec661737dfe7'
'SKIP'
- '58ab539871a68e36de81c80bcd0258a755b64e1cc210430ba60a0e8d5fb51a44'
'83cf760b3ae6e03d49e02369375dae3ecc05a6800d512dd9ffeaac1648c19457')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
@@ -36,8 +34,6 @@ options=(!zipman)
prepare() {
mkdir -p build
- patch -d $pkgname-$pkgver -p1 -i "$srcdir"/CVE-2020-9359.patch
-
cd $pkgname-$pkgver
patch -Np1 -i "$srcdir"/libre.patch
}
@@ -45,8 +41,7 @@ prepare() {
build() {
cd build
cmake ../$pkgname-$pkgver \
- -DBUILD_TESTING=OFF \
- -DBUILD_OKULARKIRIGAMI=OFF
+ -DBUILD_TESTING=OFF
make
}