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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:13:33 EST 2011


    Date: Thursday, November 24, 2011 @ 11:13:32
  Author: andrea
Revision: 143292

db-move: moved kdegraphics-okular from [staging] to [kde-unstable] (x86_64)

Added:
  kdegraphics-okular/repos/kde-unstable-x86_64/
  kdegraphics-okular/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 143277, kdegraphics-okular/repos/staging-x86_64/PKGBUILD)
  kdegraphics-okular/repos/kde-unstable-x86_64/kdegraphics-okular.install
    (from rev 143277, kdegraphics-okular/repos/staging-x86_64/kdegraphics-okular.install)
Deleted:
  kdegraphics-okular/repos/staging-x86_64/

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

Copied: kdegraphics-okular/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdegraphics-okular/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:13:32 UTC (rev 143292)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.7.80
+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/unstable/${pkgver}/src/okular-${pkgver}.tar.bz2")
+sha1sums=('971562ce741fc6d4afb6c80dc405984b77ef7bfa')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../okular-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-okular/repos/kde-unstable-x86_64/kdegraphics-okular.install (from rev 143277, kdegraphics-okular/repos/staging-x86_64/kdegraphics-okular.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegraphics-okular.install	2011-11-24 16:13:32 UTC (rev 143292)
@@ -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