Date: Thursday, January 15, 2015 @ 11:57:18
  Author: fyan
Revision: 229038

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

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

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

Copied: kdegraphics-okular/repos/staging-i686/PKGBUILD (from rev 229037, 
kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2015-01-15 10:57:18 UTC (rev 229038)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=14.12.1
+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=('3f8a1587d68a5768bf600b3dadc8d73a74a0ef58')
+
+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/staging-i686/kdegraphics-okular.install (from 
rev 229037, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-i686/kdegraphics-okular.install                             (rev 0)
+++ staging-i686/kdegraphics-okular.install     2015-01-15 10:57:18 UTC (rev 
229038)
@@ -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/staging-x86_64/PKGBUILD (from rev 229037, 
kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2015-01-15 10:57:18 UTC (rev 229038)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=14.12.1
+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=('3f8a1587d68a5768bf600b3dadc8d73a74a0ef58')
+
+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/staging-x86_64/kdegraphics-okular.install 
(from rev 229037, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-x86_64/kdegraphics-okular.install                           (rev 0)
+++ staging-x86_64/kdegraphics-okular.install   2015-01-15 10:57:18 UTC (rev 
229038)
@@ -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
+}

Reply via email to