From b6cb10de275cea63bab0bee2a98342afa4fdc4ee Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 30 Dec 2012 18:57:37 +0100 Subject: + chm2pdf newlisp emacs-newlisp --- pcr/chm2pdf/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pcr/chm2pdf/PKGBUILD (limited to 'pcr/chm2pdf/PKGBUILD') diff --git a/pcr/chm2pdf/PKGBUILD b/pcr/chm2pdf/PKGBUILD new file mode 100644 index 000000000..16586e732 --- /dev/null +++ b/pcr/chm2pdf/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Rodrigo Coacci +# Contributor: fes0 +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières + +pkgname=chm2pdf +pkgver=0.9.1 +pkgrel=1 +pkgdesc="A simple Python script that converts CHM files into PDF files." +arch=('any') +license=('GPL2') +url="http://code.google.com/p/chm2pdf/" +depends=('chmlib' 'python2' 'python2-pychm' 'htmldoc') +optdepends=('beautiful-soup: A Python HTML/XML parser designed for quick turnaround projects like screen-scraping') +source=('http://chm2pdf.googlecode.com/files/chm2pdf-0.9.1.tar.gz') + + +build() { + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $srcdir/$pkgname-$pkgver/chm2pdf + cd $srcdir/$pkgname-$pkgver + python2 setup.py install --root=$startdir/pkg +} + -- cgit v1.2.3-2-g168b