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

Andrea Scarpino andrea at archlinux.org
Tue Sep 6 21:20:47 UTC 2011


    Date: Tuesday, September 6, 2011 @ 17:20:46
  Author: andrea
Revision: 137236

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

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

-------------------------------------------+
 staging-i686/PKGBUILD                     |   34 ++++++++++++++++++++++++++++
 staging-i686/kdegraphics-okular.install   |   12 +++++++++
 staging-x86_64/PKGBUILD                   |   34 ++++++++++++++++++++++++++++
 staging-x86_64/kdegraphics-okular.install |   12 +++++++++
 4 files changed, 92 insertions(+)

Copied: kdegraphics-okular/repos/staging-i686/PKGBUILD (from rev 137235, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-09-06 21:20:46 UTC (rev 137236)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.7.1
+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=('pkgconfig' 'cmake' 'automoc4')
+optdepends=('kdegraphics-mobipocket: mobipocket support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/okular-${pkgver}.tar.bz2")
+sha1sums=('73d2b9ecdafa43feb9da645d6ff9ea309a55b669')
+
+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/staging-i686/kdegraphics-okular.install (from rev 137235, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-i686/kdegraphics-okular.install	                        (rev 0)
+++ staging-i686/kdegraphics-okular.install	2011-09-06 21:20:46 UTC (rev 137236)
@@ -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/staging-x86_64/PKGBUILD (from rev 137235, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-09-06 21:20:46 UTC (rev 137236)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.7.1
+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=('pkgconfig' 'cmake' 'automoc4')
+optdepends=('kdegraphics-mobipocket: mobipocket support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/okular-${pkgver}.tar.bz2")
+sha1sums=('73d2b9ecdafa43feb9da645d6ff9ea309a55b669')
+
+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/staging-x86_64/kdegraphics-okular.install (from rev 137235, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ staging-x86_64/kdegraphics-okular.install	2011-09-06 21:20:46 UTC (rev 137236)
@@ -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