summaryrefslogtreecommitdiff
path: root/pcr/chm2pdf
diff options
context:
space:
mode:
authoraurelien <tek@localhost.localdomain>2012-12-30 18:57:37 +0100
committeraurelien <tek@localhost.localdomain>2012-12-30 18:57:37 +0100
commitb6cb10de275cea63bab0bee2a98342afa4fdc4ee (patch)
tree9736770dbd6bf695a100eb88a00de98b70a9f262 /pcr/chm2pdf
parentd731a980f156ec8d47292e47b63a17bced3d0268 (diff)
+ chm2pdf newlisp emacs-newlisp
Diffstat (limited to 'pcr/chm2pdf')
-rw-r--r--pcr/chm2pdf/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
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 <rcoacci@gmail.com>
+# Contributor: fes0
+# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+
+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
+}
+