[arch-commits] Commit in kdegraphics-okular/repos (6 files)

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:56:30 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:56:30
  Author: arojas
Revision: 242744

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdegraphics-okular/repos/kde-unstable-i686/
  kdegraphics-okular/repos/kde-unstable-i686/PKGBUILD
    (from rev 242743, kdegraphics-okular/kde-unstable/PKGBUILD)
  kdegraphics-okular/repos/kde-unstable-i686/kdegraphics-okular.install
    (from rev 242743, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)
  kdegraphics-okular/repos/kde-unstable-x86_64/
  kdegraphics-okular/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242743, kdegraphics-okular/kde-unstable/PKGBUILD)
  kdegraphics-okular/repos/kde-unstable-x86_64/kdegraphics-okular.install
    (from rev 242743, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)

------------------------------------------------+
 kde-unstable-i686/PKGBUILD                     |   39 +++++++++++++++++++++++
 kde-unstable-i686/kdegraphics-okular.install   |   12 +++++++
 kde-unstable-x86_64/PKGBUILD                   |   39 +++++++++++++++++++++++
 kde-unstable-x86_64/kdegraphics-okular.install |   12 +++++++
 4 files changed, 102 insertions(+)

Copied: kdegraphics-okular/repos/kde-unstable-i686/PKGBUILD (from rev 242743, kdegraphics-okular/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:56:30 UTC (rev 242744)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=15.07.80
+pkgrel=1
+pkgdesc='Document Viewer'
+arch=('i686' 'x86_64')
+url="http://kde.org/applications/graphics/okular/"
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('kdebase-runtime' 'qimageblitz' 'chmlib' 'djvulibre' 'libspectre'
+         'libkexiv2' 'poppler-qt4' 'libkscreen4')
+makedepends=('cmake' 'automoc4' 'ebook-tools' 'kdegraphics-mobipocket')
+optdepends=('ebook-tools: mobi and epub support'
+            'kdegraphics-mobipocket: mobi support')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/okular-${pkgver}.tar.xz")
+sha1sums=('5e78b6d5b21171b602f3cd9a8f1b21afa13279d8')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../okular-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_ActiveApp=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-okular/repos/kde-unstable-i686/kdegraphics-okular.install (from rev 242743, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)
===================================================================
--- kde-unstable-i686/kdegraphics-okular.install	                        (rev 0)
+++ kde-unstable-i686/kdegraphics-okular.install	2015-07-29 07:56:30 UTC (rev 242744)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdegraphics-okular/repos/kde-unstable-x86_64/PKGBUILD (from rev 242743, kdegraphics-okular/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:56:30 UTC (rev 242744)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=15.07.80
+pkgrel=1
+pkgdesc='Document Viewer'
+arch=('i686' 'x86_64')
+url="http://kde.org/applications/graphics/okular/"
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('kdebase-runtime' 'qimageblitz' 'chmlib' 'djvulibre' 'libspectre'
+         'libkexiv2' 'poppler-qt4' 'libkscreen4')
+makedepends=('cmake' 'automoc4' 'ebook-tools' 'kdegraphics-mobipocket')
+optdepends=('ebook-tools: mobi and epub support'
+            'kdegraphics-mobipocket: mobi support')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/okular-${pkgver}.tar.xz")
+sha1sums=('5e78b6d5b21171b602f3cd9a8f1b21afa13279d8')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../okular-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_ActiveApp=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-okular/repos/kde-unstable-x86_64/kdegraphics-okular.install (from rev 242743, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegraphics-okular.install	2015-07-29 07:56:30 UTC (rev 242744)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list