# $Id: PKGBUILD 73532 2012-07-09 08:57:53Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Christoph Drexler pkgname=leptonica pkgver=1.69 pkgrel=1 pkgdesc="Software that is broadly useful for image processing and image analysis applications" arch=('i686' 'x86_64' 'mips64el') url="http://www.leptonica.com/" license=('custom') depends=('giflib' 'gnuplot' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp') source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz) md5sums=('d4085c302cbcab7f9af9d3d6f004ab22') build() { cd ${srcdir}/leptonica-${pkgver} ./configure --prefix=/usr make } package() { cd ${srcdir}/leptonica-${pkgver} make DESTDIR=${pkgdir} install install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/leptonica-license.txt }