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

Andrea Scarpino andrea at archlinux.org
Tue Oct 4 19:06:49 EDT 2011


    Date: Tuesday, October 4, 2011 @ 19:06:49
  Author: andrea
Revision: 139762

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

Added:
  kdegraphics-okular/repos/staging-i686/
  kdegraphics-okular/repos/staging-i686/PKGBUILD
    (from rev 139761, kdegraphics-okular/trunk/PKGBUILD)
  kdegraphics-okular/repos/staging-i686/kdegraphics-okular.install
    (from rev 139761, kdegraphics-okular/trunk/kdegraphics-okular.install)
  kdegraphics-okular/repos/staging-x86_64/
  kdegraphics-okular/repos/staging-x86_64/PKGBUILD
    (from rev 139761, kdegraphics-okular/trunk/PKGBUILD)
  kdegraphics-okular/repos/staging-x86_64/kdegraphics-okular.install
    (from rev 139761, 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 139761, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-04 23:06:49 UTC (rev 139762)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.7.2
+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=('5bc14efec8d00429a45a807a5bc839ffc783a10f')
+
+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 139761, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-i686/kdegraphics-okular.install	                        (rev 0)
+++ staging-i686/kdegraphics-okular.install	2011-10-04 23:06:49 UTC (rev 139762)
@@ -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 139761, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-04 23:06:49 UTC (rev 139762)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.7.2
+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=('5bc14efec8d00429a45a807a5bc839ffc783a10f')
+
+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 139761, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-x86_64/kdegraphics-okular.install	                        (rev 0)
+++ staging-x86_64/kdegraphics-okular.install	2011-10-04 23:06:49 UTC (rev 139762)
@@ -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