Message info
 
To:arch-commits@archlinux.org From:Andrea Scarpino Subject:[arch-commits] Commit in kdegraphics-okular/repos (6 files) Date:Sun, 13 May 2012 18:30:25 -0400 (EDT)
 

Date: Sunday, May 13, 2012 @ 18:30:24
Author: andrea
Revision: 158978

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

Added:
kdegraphics-okular/repos/staging-i686/
kdegraphics-okular/repos/staging-i686/PKGBUILD
(from rev 158977, kdegraphics-okular/trunk/PKGBUILD)
kdegraphics-okular/repos/staging-i686/kdegraphics-okular.install
(from rev 158977, kdegraphics-okular/trunk/kdegraphics-okular.install)
kdegraphics-okular/repos/staging-x86_64/
kdegraphics-okular/repos/staging-x86_64/PKGBUILD
(from rev 158977, kdegraphics-okular/trunk/PKGBUILD)
kdegraphics-okular/repos/staging-x86_64/kdegraphics-okular.install
(from rev 158977, 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 158977, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-05-13 22:30:24 UTC (rev 158978)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.8.3
+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.xz")
+sha1sums=('7c43076df3e9d6217e2a5cbb8ef6d8af89f8ae37')
+
+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 158977, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-i686/kdegraphics-okular.install (rev 0)
+++ staging-i686/kdegraphics-okular.install 2012-05-13 22:30:24 UTC (rev 158978)
@@ -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 158977, kdegraphics-okular/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-05-13 22:30:24 UTC (rev 158978)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdegraphics-okular
+pkgver=4.8.3
+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.xz")
+sha1sums=('7c43076df3e9d6217e2a5cbb8ef6d8af89f8ae37')
+
+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 158977, kdegraphics-okular/trunk/kdegraphics-okular.install)
===================================================================
--- staging-x86_64/kdegraphics-okular.install (rev 0)
+++ staging-x86_64/kdegraphics-okular.install 2012-05-13 22:30:24 UTC (rev 158978)
@@ -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
+}