diff options
author | root <root@rshg054.dnsready.net> | 2013-02-20 00:04:38 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-20 00:04:38 -0800 |
commit | 1bd47d3e04c409582486ea3ec915d3b7899f6841 (patch) | |
tree | f09c9d0e2af9846a6fe61c07c3d7973c979f103c /community/djview4 | |
parent | ba105c9a82cf668f973a140c1792a3c02589980d (diff) |
Wed Feb 20 00:04:38 PST 2013
Diffstat (limited to 'community/djview4')
-rw-r--r-- | community/djview4/PKGBUILD | 13 | ||||
-rw-r--r-- | community/djview4/install | 5 |
2 files changed, 8 insertions, 10 deletions
diff --git a/community/djview4/PKGBUILD b/community/djview4/PKGBUILD index 4cb58fc29..36e50c57c 100644 --- a/community/djview4/PKGBUILD +++ b/community/djview4/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63534 2012-02-05 11:54:12Z ibiru $ +# $Id: PKGBUILD 84432 2013-02-19 00:14:18Z bisson $ # Contributor: Paulo Matias <matias.archlinux-br.org> # Contributor: Leslie P. Polzer <polzer.gnu.org> # Contributor: erm67 <erm67.yahoo.it> @@ -6,28 +6,27 @@ # Maintainer: Gaetan Bisson <bisson@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 diff --git a/community/djview4/install b/community/djview4/install index f2bd04ceb..b0409600c 100644 --- a/community/djview4/install +++ b/community/djview4/install @@ -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() { |