From a14fd54a63bc63295ff54ae19699c17a4621c711 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Mon, 15 Jan 2018 19:15:54 +0100 Subject: libre/okular: updated to 17.12.1 --- libre/okular/PKGBUILD | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) (limited to 'libre/okular/PKGBUILD') diff --git a/libre/okular/PKGBUILD b/libre/okular/PKGBUILD index 0ce5ed681..42e93ba94 100644 --- a/libre/okular/PKGBUILD +++ b/libre/okular/PKGBUILD @@ -6,30 +6,23 @@ # Contributor (Arch): Andrea Scarpino pkgname=okular - -pkgver=17.12.0 +pkgver=17.12.1 pkgrel=1.parabola1 -arch=(i686 x86_64 armv7h) - -pkgdesc="Document Viewer, with copy-protection anti-feature turn off by default" +pkgdesc='Document Viewer, with copy-protection anti-feature turned off by default' +arch=(x86_64 i686 armv7h) url="https://kde.org/applications/graphics/okular/" license=(GPL LGPL FDL) - -makedepends=(extra-cmake-modules ebook-tools kdegraphics-mobipocket kdoctools khtml python chmlib) -depends=(djvulibre libspectre libkexiv2 poppler-qt5 qca-qt5 kpty kactivities threadweaver kjs kparts mesa) -optdepends=('ebook-tools: mobi and epub support' - 'kdegraphics-mobipocket: mobi support' - 'kirigami2: mobile UI' - 'khtml: CHM support' - 'chmlib: CHM support' - 'calligra: ODT and ODP support') +groups=(kde-applications kdegraphics) +depends=(djvulibre libspectre libkexiv2 poppler-qt5 qca-qt5 kpty kactivities threadweaver kjs kparts purpose) +makedepends=(extra-cmake-modules ebook-tools kdegraphics-mobipocket kdoctools khtml python chmlib discount) +optdepends=('ebook-tools: mobi and epub support' 'discount: markdown support' + 'kdegraphics-mobipocket: mobi support' 'kirigami2: mobile UI' 'libzip: CHM support' + 'khtml: CHM support' 'chmlib: CHM support' 'calligra: ODT and ODP support') conflicts=(kdegraphics-okular) replaces=(kdegraphics-okular) -groups=(kde-applications kdegraphics) - -source=("https://download.kde.org/stable/applications/$pkgver/src/okular-$pkgver.tar.xz"{,.sig} +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} 'turn_off_copy-protection_anti-feature.patch') -sha256sums=('0594eb61bd939a596ea5416a682b14ad56120330c3eba11c92b5d72a5b80ff33' +sha256sums=('123b21e101dc5eb222989affd81336ed2b41903ee0712762a6464faa4e2d5165' 'SKIP' '83cf760b3ae6e03d49e02369375dae3ecc05a6800d512dd9ffeaac1648c19457') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid @@ -39,12 +32,11 @@ prepare() { mkdir -p build cd $pkgname-$pkgver - patch -p1 -i $srcdir/turn_off_copy-protection_anti-feature.patch + patch -Np1 -i "$srcdir"/turn_off_copy-protection_anti-feature.patch } build() { cd build - cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -55,6 +47,5 @@ build() { package() { cd build - make DESTDIR="$pkgdir" install } -- cgit v1.2.3