summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 45df8a42bcd..bdc7a2d89b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,16 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
pkgname=('python-relatorio' 'python2-relatorio')
pkgver=0.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="A templating library able to output odt and pdf files"
arch=('any')
url="http://relatorio.tryton.org/"
license=('GPL')
makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/r/relatorio/relatorio-$pkgver.tar.gz")
-sha512sums=('d8f5c2a6c6fd207de4f651a8abe8802de0a0a30b35c659136e52868c5721f719e53bc771019a8a4448615432696c149298b2306fcacadcc0737fa6b08a53b345')
+source=("https://pypi.io/packages/source/r/relatorio/relatorio-$pkgver.tar.gz"
+ 'ebec469f4baa.diff')
+sha512sums=('d8f5c2a6c6fd207de4f651a8abe8802de0a0a30b35c659136e52868c5721f719e53bc771019a8a4448615432696c149298b2306fcacadcc0737fa6b08a53b345'
+ '3c3292bcc9995f1a06c3112eccaa359090baa8182d0ba282a1c2455374144b5e921830788d28161404265637d6450267bee3dcaa906640d8fa06d16c9bc75b9d')
prepare() {
cp -a relatorio-$pkgver{,-py2}
@@ -18,9 +20,11 @@ prepare() {
build() {
cd "$srcdir/relatorio-$pkgver"
+ patch -p1 < ../ebec469f4baa.diff
python setup.py build
cd "$srcdir/relatorio-$pkgver-py2"
+ patch -p1 < ../ebec469f4baa.diff
python2 setup.py build
}