# $Id: PKGBUILD 43732 2009-06-30 04:51:22Z allan $ # Maintainer: damir # Contributor: mgushee pkgname=libdjvu pkgver=3.5.22 pkgrel=2 pkgdesc="Library to process DjVu ('déjà vu') documents" arch=("i686" "x86_64") license=('GPL') url="http://djvu.sourceforge.net/" depends=('gcc-libs' 'libjpeg>=7') options=('!libtool') source=(http://downloads.sourceforge.net/djvu/djvulibre-${pkgver}.tar.gz) md5sums=('d1513784ce0e4f37d71595dc34c95ec7') build() { cd "${srcdir}/djvulibre-${pkgver}" ./configure --prefix=/usr || return 1 cd libdjvu || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }