From 946f0c9fe48dfb648a8a0be065e92f237ce210fd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Nov 2011 23:14:46 +0000 Subject: Tue Nov 29 23:14:46 UTC 2011 --- extra/djvulibre/PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'extra/djvulibre/PKGBUILD') diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD index 6db90e526..6544542f1 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 # 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") 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. -- cgit v1.2.3-54-g00ecf