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

Felix Yan fyan at archlinux.org
Wed Feb 4 04:14:05 UTC 2015


    Date: Wednesday, February 4, 2015 @ 05:14:04
  Author: fyan
Revision: 230437

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdegraphics-okular/repos/testing-i686/
  kdegraphics-okular/repos/testing-i686/PKGBUILD
    (from rev 230436, kdegraphics-okular/trunk/PKGBUILD)
  kdegraphics-okular/repos/testing-i686/kdegraphics-okular.install
    (from rev 230436, kdegraphics-okular/trunk/kdegraphics-okular.install)
  kdegraphics-okular/repos/testing-x86_64/
  kdegraphics-okular/repos/testing-x86_64/PKGBUILD
    (from rev 230436, kdegraphics-okular/trunk/PKGBUILD)
  kdegraphics-okular/repos/testing-x86_64/kdegraphics-okular.install
    (from rev 230436, kdegraphics-okular/trunk/kdegraphics-okular.install)

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

Copied: kdegraphics-okular/repos/testing-i686/PKGBUILD (from rev 230436, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 04:14:04 UTC (rev 230437)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=14.12.2
+pkgrel=1
+pkgdesc='Document Viewer'
+arch=('i686' 'x86_64')
+url="http://kde.org/applications/graphics/okular/"
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime' 'qimageblitz' 'chmlib' 'djvulibre' 'libspectre'
+         'libkexiv2' 'poppler-qt4')
+makedepends=('cmake' 'automoc4' 'ebook-tools')
+optdepends=('ebook-tools: mobi and epub support'
+            'kdegraphics-mobipocket: mobi support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/okular-${pkgver}.tar.xz")
+sha1sums=('259cb81a66431415c1b01c4ea9ca4ca071342cc2')
+
+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/testing-i686/kdegraphics-okular.install (from rev 230436, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- testing-i686/kdegraphics-okular.install	                        (rev 0)
+++ testing-i686/kdegraphics-okular.install	2015-02-04 04:14:04 UTC (rev 230437)
@@ -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/testing-x86_64/PKGBUILD (from rev 230436, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 04:14:04 UTC (rev 230437)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=14.12.2
+pkgrel=1
+pkgdesc='Document Viewer'
+arch=('i686' 'x86_64')
+url="http://kde.org/applications/graphics/okular/"
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime' 'qimageblitz' 'chmlib' 'djvulibre' 'libspectre'
+         'libkexiv2' 'poppler-qt4')
+makedepends=('cmake' 'automoc4' 'ebook-tools')
+optdepends=('ebook-tools: mobi and epub support'
+            'kdegraphics-mobipocket: mobi support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/okular-${pkgver}.tar.xz")
+sha1sums=('259cb81a66431415c1b01c4ea9ca4ca071342cc2')
+
+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/testing-x86_64/kdegraphics-okular.install (from rev 230436, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- testing-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ testing-x86_64/kdegraphics-okular.install	2015-02-04 04:14:04 UTC (rev 230437)
@@ -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