diff options
author | aurelien <aurelien@xload.io> | 2014-05-30 20:00:03 +0200 |
---|---|---|
committer | aurelien <aurelien@xload.io> | 2014-05-30 20:00:03 +0200 |
commit | 786de412c6a142f547f8ab8eec6fc98bf331afe7 (patch) | |
tree | 5c13ffd8c8e8cb4155c93919d61d373d58ee5e88 /pcr/chm2pdf | |
parent | ac7547d79cbb08b0c94b7c60dface7d5c90eb0e3 (diff) | |
download | abslibre-786de412c6a142f547f8ab8eec6fc98bf331afe7.tar.gz abslibre-786de412c6a142f547f8ab8eec6fc98bf331afe7.tar.bz2 abslibre-786de412c6a142f547f8ab8eec6fc98bf331afe7.zip |
chm2pdf
Diffstat (limited to 'pcr/chm2pdf')
-rw-r--r-- | pcr/chm2pdf/Changelog | 17 | ||||
-rw-r--r-- | pcr/chm2pdf/PKGBUILD | 31 |
2 files changed, 36 insertions, 12 deletions
diff --git a/pcr/chm2pdf/Changelog b/pcr/chm2pdf/Changelog new file mode 100644 index 000000000..f48ac33c8 --- /dev/null +++ b/pcr/chm2pdf/Changelog @@ -0,0 +1,17 @@ +2013-10-29 Ognjen Vidovic <ognjen.vidovic at gmail dot com> + + 0.9.1-2: + * new maintainer + +2013-07-20 Mariusz Libera <mariusz.libera@gmail.com> + + 0.9.1-2: + * new maintainer + * added prepare() function + * added package() function + * removed build() function + * removed $startdir usage + * cleaned up dependencies + * updated name and description of beautiful soup optdep + * added Changelog + diff --git a/pcr/chm2pdf/PKGBUILD b/pcr/chm2pdf/PKGBUILD index 44df24990..a3ef76883 100644 --- a/pcr/chm2pdf/PKGBUILD +++ b/pcr/chm2pdf/PKGBUILD @@ -1,22 +1,29 @@ -# Contributor (Arch): Rodrigo Coacci <rcoacci@gmail.com> -# Contributor (Arch): fes0 -# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO> +# Contributor: Ognjen Vidovic <ognjen.vidovic at gmail dot com> +# Contributor: Mariusz Libera <mariusz.libera@gmail.com> +# Contributor: fes0 +# Contributor: Rodrigo Coacci <rcoacci@gmail.com> +# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp> pkgname=chm2pdf pkgver=0.9.1 -pkgrel=1 +pkgrel=2 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') +license=('GPL2') +depends=('htmldoc' 'python2-pychm') +optdepends=('python2-beautifulsoup3: makes HTML files of CHM standards compliant') +changelog=Changelog +source=("http://chm2pdf.googlecode.com/files/chm2pdf-${pkgver}.tar.gz") +prepare() { + cd "$srcdir/$pkgname-$pkgver" + # python2 fix + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' chm2pdf +} -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 +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" } |