Date: Thursday, June 23, 2011 @ 04:14:43 Author: andrea Revision: 128344
New okular tarball Added: okular/ okular/kde-unstable/ okular/kde-unstable/PKGBUILD okular/kde-unstable/kdegraphics-okular.install okular/repos/ okular/trunk/ Deleted: kdegraphics/kde-unstable/ ----------------------------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ kdegraphics-okular.install | 12 ++++++++++++ 2 files changed, 47 insertions(+) Added: okular/kde-unstable/PKGBUILD =================================================================== --- okular/kde-unstable/PKGBUILD (rev 0) +++ okular/kde-unstable/PKGBUILD 2011-06-23 08:14:43 UTC (rev 128344) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Andrea Scarpino <[email protected]> + +pkgname=kdegraphics-okular +pkgver=4.6.90 +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') +install=${pkgname}.install +source=("http://download.kde.org/unstable/${pkgver}/src/okular-${pkgver}.tar.bz2") +sha1sums=('9de2423f525a82c28158ffd3add82196afce710f') + +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/okular + make DESTDIR="${pkgdir}" install + cd "${srcdir}"/build/doc/okular + make DESTDIR="${pkgdir}" install +} Property changes on: okular/kde-unstable/PKGBUILD ___________________________________________________________________ Added: svn:keywords + Id Added: okular/kde-unstable/kdegraphics-okular.install =================================================================== --- okular/kde-unstable/kdegraphics-okular.install (rev 0) +++ okular/kde-unstable/kdegraphics-okular.install 2011-06-23 08:14:43 UTC (rev 128344) @@ -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 +}
