updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pdfsandwich / PKGBUILD
blob428de32a5cbccc32c361299711468cc46f179e44
1 # Maintainer: Max Roder <maxroder@web.de>
3 pkgname=pdfsandwich
4 pkgver=0.0.3
5 pkgrel=4
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/"
8 arch=('x86_64' 'i686')
9 license=('GPL')
10 depends=('cuneiform' 'exactimage-svn' 'imagemagick' 'ghostscript')
11 makedepends=('ocaml')
12 source=("http://download.origo.ethz.ch/pdfsandwich/2161/${pkgname}-${pkgver}.tar.bz2"
13         "pdfsandwich.patch")
14 sha256sums=('358ca5834f029a3c7ea41f755f2998681085885d1f7f72d05e67b793e373175c'
15             '31753bb788da0583ecd665ad6f3e73c37455de727fb6bc67c31f19105c50faa4')
17 build() {
18         cd "${srcdir}/${pkgname}-${pkgver}"
19         ./configure
21         # Patch for better results (using tiff instead of bmp, see http://pdfsandwich.origo.ethz.ch/issues/1)
22         patch -i ../pdfsandwich.patch
23         make
26 package() {
27   cd "${srcdir}/${pkgname}-${pkgver}"
28   make DESTDIR="${pkgdir}" PREFIX="/usr" install
31 # vim:set ts=2 sw=2 et: