[arch-commits] Commit in djview4/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Fri Feb 20 08:02:39 UTC 2015


    Date: Friday, February 20, 2015 @ 09:02:38
  Author: bisson
Revision: 128012

upstream update, prepare djview switch

Modified:
  djview4/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-20 07:37:55 UTC (rev 128011)
+++ PKGBUILD	2015-02-20 08:02:38 UTC (rev 128012)
@@ -5,21 +5,25 @@
 # Contributor: Daniel J Griffiths
 # Maintainer: Gaetan Bisson <bisson at archlinux.org>
 
-pkgname=djview4
-pkgver=4.9
-pkgrel=3
+pkgname=djview
+pkgver=4.10
+pkgrel=1
 pkgdesc='Portable DjVu viewer and browser plugin'
 url='http://djvu.sourceforge.net/djview4.html'
 license=('GPL')
 arch=('i686' 'x86_64')
 depends=('qt4' 'djvulibre')
-source=("http://downloads.sourceforge.net/djvu/djview-${pkgver}.tar.gz")
-sha1sums=('07f97e32919bfb34ff2d59b928c47ffbc96dcfc5')
+source=("http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('7526d23aa501ce34468e42f094f49b6b96cce186')
 
+conflicts=('djview4')
+provides=('djview4')
+replaces=('djview4')
+
 install=install
 
 build() {
-	cd ${pkgname}-${pkgver}
+	cd "${srcdir}/${pkgname}-${pkgver}"
 	./configure --prefix=/usr
 	sed 's/netscape/mozilla/g' -i nsdejavu/Makefile
 	make
@@ -26,7 +30,7 @@
 }
 
 package() {
-	cd ${pkgname}-${pkgver}
+	cd "${srcdir}/${pkgname}-${pkgver}"
 	make DESTDIR="${pkgdir}" install-djview install-nsdejavu
 
 	cd desktopfiles



More information about the arch-commits mailing list