summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/okular/PKGBUILD24
-rw-r--r--libre/okular/libre.patch (renamed from libre/okular/turn_off_copy-protection_anti-feature.patch)0
2 files changed, 13 insertions, 11 deletions
diff --git a/libre/okular/PKGBUILD b/libre/okular/PKGBUILD
index 42e93ba94..3c20596bc 100644
--- a/libre/okular/PKGBUILD
+++ b/libre/okular/PKGBUILD
@@ -1,15 +1,18 @@
-# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
+# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>
-# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
pkgname=okular
-pkgver=17.12.1
-pkgrel=1.parabola1
-pkgdesc='Document Viewer, with copy-protection anti-feature turned off by default'
-arch=(x86_64 i686 armv7h)
+pkgver=17.12.3
+pkgrel=1
+pkgrel+=.parabola1
+pkgdesc='Document Viewer'
+pkgdesc+=', with copy-protection anti-feature turned off by default'
+arch=(x86_64)
+arch+=(i686 armv7h)
url="https://kde.org/applications/graphics/okular/"
license=(GPL LGPL FDL)
groups=(kde-applications kdegraphics)
@@ -20,9 +23,9 @@ optdepends=('ebook-tools: mobi and epub support' 'discount: markdown support'
'khtml: CHM support' 'chmlib: CHM support' 'calligra: ODT and ODP support')
conflicts=(kdegraphics-okular)
replaces=(kdegraphics-okular)
-source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
- 'turn_off_copy-protection_anti-feature.patch')
-sha256sums=('123b21e101dc5eb222989affd81336ed2b41903ee0712762a6464faa4e2d5165'
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source+=('libre.patch')
+sha256sums=('0a12549c2d90c13b8fa0838707924596eb12981bffc3a5b81410785a4e9e061d'
'SKIP'
'83cf760b3ae6e03d49e02369375dae3ecc05a6800d512dd9ffeaac1648c19457')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
@@ -32,13 +35,12 @@ prepare() {
mkdir -p build
cd $pkgname-$pkgver
- patch -Np1 -i "$srcdir"/turn_off_copy-protection_anti-feature.patch
+ patch -Np1 -i "$srcdir"/libre.patch
}
build() {
cd build
cmake ../$pkgname-$pkgver \
- -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
diff --git a/libre/okular/turn_off_copy-protection_anti-feature.patch b/libre/okular/libre.patch
index ebc801a6a..ebc801a6a 100644
--- a/libre/okular/turn_off_copy-protection_anti-feature.patch
+++ b/libre/okular/libre.patch