blob: 05ab4cd22a68961fd3d34f6affbf9b309a2b97f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 70999 2012-05-21 16:29:53Z foutrelis $
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
pkgname=pdf2djvu
pkgver=0.7.12
pkgrel=1
pkgdesc="Creates DjVu files from PDF files"
arch=('i686' 'x86_64')
url="http://pdf2djvu.googlecode.com"
license=('GPL')
depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs')
makedepends=('pstreams')
source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz"
"poppler-0.20.patch")
md5sums=('4fd56c0763b56b4081fc9c85be16d9d7'
'60ceee2409012a5f2b89b96e4a038793')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 <$srcdir/poppler-0.20.patch
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make install DESTDIR=${pkgdir}
install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
}
|