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

Andrea Scarpino andrea at archlinux.org
Wed Nov 7 19:50:38 UTC 2012


    Date: Wednesday, November 7, 2012 @ 14:50:38
  Author: andrea
Revision: 170433

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

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

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

Copied: kdegraphics-okular/repos/testing-i686/PKGBUILD (from rev 170432, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-11-07 19:50:38 UTC (rev 170433)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.9.3
+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=('33e6f1c3f282bf384d09f3fd1d535a35af572df6')
+
+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/testing-i686/kdegraphics-okular.install (from rev 170432, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- testing-i686/kdegraphics-okular.install	                        (rev 0)
+++ testing-i686/kdegraphics-okular.install	2012-11-07 19:50:38 UTC (rev 170433)
@@ -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/testing-x86_64/PKGBUILD (from rev 170432, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-11-07 19:50:38 UTC (rev 170433)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.9.3
+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=('33e6f1c3f282bf384d09f3fd1d535a35af572df6')
+
+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/testing-x86_64/kdegraphics-okular.install (from rev 170432, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- testing-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ testing-x86_64/kdegraphics-okular.install	2012-11-07 19:50:38 UTC (rev 170433)
@@ -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