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

Ionut Biru ibiru at archlinux.org
Mon Jan 30 18:47:38 UTC 2012


    Date: Monday, January 30, 2012 @ 13:47:38
  Author: ibiru
Revision: 148175

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

Added:
  kdegraphics-okular/repos/testing-x86_64/
  kdegraphics-okular/repos/testing-x86_64/PKGBUILD
    (from rev 148047, kdegraphics-okular/repos/staging-x86_64/PKGBUILD)
  kdegraphics-okular/repos/testing-x86_64/kdegraphics-okular.install
    (from rev 148047, 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/testing-x86_64/PKGBUILD (from rev 148047, kdegraphics-okular/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-01-30 18:47:38 UTC (rev 148175)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.8.0
+pkgrel=2
+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.bz2")
+sha1sums=('c112a490cd1245041c9d81b9377838fd0de4d60c')
+
+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/testing-x86_64/kdegraphics-okular.install (from rev 148047, kdegraphics-okular/repos/staging-x86_64/kdegraphics-okular.install)
===================================================================
--- testing-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ testing-x86_64/kdegraphics-okular.install	2012-01-30 18:47:38 UTC (rev 148175)
@@ -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