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

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jun 5 19:56:34 UTC 2013


    Date: Wednesday, June 5, 2013 @ 21:56:34
  Author: andrea
Revision: 187559

archrelease: copy trunk to staging-x86_64

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

----------------------------+
 PKGBUILD                   |   35 +++++++++++++++++++++++++++++++++++
 kdegraphics-okular.install |   12 ++++++++++++
 2 files changed, 47 insertions(+)

Copied: kdegraphics-okular/repos/staging-x86_64/PKGBUILD (from rev 187558, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-06-05 19:56:34 UTC (rev 187559)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.10.4
+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' 'poppler-qt' 'chmlib' 'djvulibre'
+         'ebook-tools' 'libspectre')
+makedepends=('cmake' 'automoc4')
+optdepends=('kdegraphics-mobipocket: mobipocket support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/okular-${pkgver}.tar.xz")
+sha1sums=('7659ac1e1d9832f541f605abbfc47da9d3ab2356')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../okular-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_ActiveApp=OFF
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-okular/repos/staging-x86_64/kdegraphics-okular.install (from rev 187558, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ staging-x86_64/kdegraphics-okular.install	2013-06-05 19:56:34 UTC (rev 187559)
@@ -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