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

Andrea Scarpino andrea at archlinux.org
Tue May 29 22:23:12 UTC 2012


    Date: Tuesday, May 29, 2012 @ 18:23:12
  Author: andrea
Revision: 160086

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdegraphics-okular/repos/kde-unstable-i686/
  kdegraphics-okular/repos/kde-unstable-i686/PKGBUILD
    (from rev 160085, kdegraphics-okular/kde-unstable/PKGBUILD)
  kdegraphics-okular/repos/kde-unstable-i686/kdegraphics-okular.install
    (from rev 160085, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)
  kdegraphics-okular/repos/kde-unstable-x86_64/
  kdegraphics-okular/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 160085, kdegraphics-okular/kde-unstable/PKGBUILD)
  kdegraphics-okular/repos/kde-unstable-x86_64/kdegraphics-okular.install
    (from rev 160085, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)

------------------------------------------------+
 kde-unstable-i686/PKGBUILD                     |   33 +++++++++++++++++++++++
 kde-unstable-i686/kdegraphics-okular.install   |   12 ++++++++
 kde-unstable-x86_64/PKGBUILD                   |   33 +++++++++++++++++++++++
 kde-unstable-x86_64/kdegraphics-okular.install |   12 ++++++++
 4 files changed, 90 insertions(+)

Copied: kdegraphics-okular/repos/kde-unstable-i686/PKGBUILD (from rev 160085, kdegraphics-okular/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2012-05-29 22:23:12 UTC (rev 160086)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.8.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.xz")
+sha1sums=('01f5bccc92a12847d975ff39f5ae0861fbcefe7c')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../okular-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-okular/repos/kde-unstable-i686/kdegraphics-okular.install (from rev 160085, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)
===================================================================
--- kde-unstable-i686/kdegraphics-okular.install	                        (rev 0)
+++ kde-unstable-i686/kdegraphics-okular.install	2012-05-29 22:23:12 UTC (rev 160086)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 160085, kdegraphics-okular/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2012-05-29 22:23:12 UTC (rev 160086)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.8.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.xz")
+sha1sums=('01f5bccc92a12847d975ff39f5ae0861fbcefe7c')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../okular-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -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 160085, kdegraphics-okular/kde-unstable/kdegraphics-okular.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegraphics-okular.install	2012-05-29 22:23:12 UTC (rev 160086)
@@ -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