summaryrefslogtreecommitdiff
path: root/extra/djvulibre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/djvulibre/PKGBUILD')
-rw-r--r--extra/djvulibre/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD
index af1ef2255..17c9480cf 100644
--- a/extra/djvulibre/PKGBUILD
+++ b/extra/djvulibre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 116498 2011-03-24 09:12:50Z jgc $
+# $Id: PKGBUILD 143707 2011-11-28 13:56:50Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: mgushee
pkgname=djvulibre
pkgver=3.5.24
-pkgrel=1
+pkgrel=2
pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
arch=("i686" "x86_64" 'mips64el')
license=('GPL')
@@ -17,13 +17,20 @@ conflicts=('libdjvu')
optdepends=('djview4: Viewer application')
options=('!libtool')
install=djvulibre.install
-source=(http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz)
-md5sums=('af83d27af5083198432a178d22b259c5')
+source=(http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz
+ git-fixes.patch)
+md5sums=('af83d27af5083198432a178d22b259c5'
+ 'ff3798e383e9c3fae407455d8a51deec')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/git-fixes.patch"
./configure --prefix=/usr --disable-desktopfiles
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
#Install icons for mime-types.