Date: Tuesday, February 19, 2013 @ 01:13:41
  Author: bisson
Revision: 84431

upstream update

Modified:
  djview4/trunk/PKGBUILD
  djview4/trunk/install

----------+
 PKGBUILD |   11 +++++------
 install  |    5 ++---
 2 files changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-02-18 23:24:23 UTC (rev 84430)
+++ PKGBUILD    2013-02-19 00:13:41 UTC (rev 84431)
@@ -6,28 +6,27 @@
 # Maintainer: Gaetan Bisson <bis...@archlinux.org>
 
 pkgname=djview4
-pkgver=4.8
-pkgrel=2
+pkgver=4.9
+pkgrel=1
 pkgdesc='Portable DjVu viewer and browser plugin'
 url='http://djvu.sourceforge.net/djview4.html'
 license=('GPL')
 arch=('i686' 'x86_64')
 depends=('qt' 'djvulibre')
 source=("http://downloads.sourceforge.net/djvu/djview-${pkgver}.tar.gz";)
-sha1sums=('266d207afb63a1ee63eed054190bf88888fda572')
+sha1sums=('07f97e32919bfb34ff2d59b928c47ffbc96dcfc5')
 
 install=install
 
 build() {
-       cd "${srcdir}/djview-${pkgver}"
+       cd "${srcdir}/${pkgname}-${pkgver}"
        QTDIR=/usr ./configure --prefix=/usr
        sed 's/netscape/mozilla/g' -i nsdejavu/Makefile
-       sed 's/swap/rofl_swap/g' -i src/qdjvuwidget.cpp
        make
 }
 
 package() {
-       cd "${srcdir}/djview-${pkgver}"
+       cd "${srcdir}/${pkgname}-${pkgver}"
        make DESTDIR="${pkgdir}" install-djview install-nsdejavu
 
        cd desktopfiles

Modified: install
===================================================================
--- install     2013-02-18 23:24:23 UTC (rev 84430)
+++ install     2013-02-19 00:13:41 UTC (rev 84431)
@@ -1,7 +1,6 @@
 post_install() {
-       if type xdg-icon-resource &>/dev/null; then
-               xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-       fi
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null || true
+       update-desktop-database -q || true
 }
 
 post_upgrade() {

Reply via email to