diff options
Diffstat (limited to 'pcr')
-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" } |