1 # Maintainer: Max Roder <maxroder@web.de>
6 pkgdesc="Wrapper for cuneiform OCR and hocr2pdf to generate pdf files with the recognized text put behind the image (sandwich pdfs)."
7 url="http://pdfsandwich.origo.ethz.ch/"
10 depends=('cuneiform' 'exactimage-svn' 'imagemagick' 'ghostscript')
12 source=("http://download.origo.ethz.ch/pdfsandwich/2161/${pkgname}-${pkgver}.tar.bz2"
14 sha256sums=('358ca5834f029a3c7ea41f755f2998681085885d1f7f72d05e67b793e373175c'
15 '31753bb788da0583ecd665ad6f3e73c37455de727fb6bc67c31f19105c50faa4')
18 cd "${srcdir}/${pkgname}-${pkgver}"
21 # Patch for better results (using tiff instead of bmp, see http://pdfsandwich.origo.ethz.ch/issues/1)
22 patch -i ../pdfsandwich.patch
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 make DESTDIR="${pkgdir}" PREFIX="/usr" install
31 # vim:set ts=2 sw=2 et: