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 ddf5b865565..e8cb0ff4cba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,20 @@
pkgname=('python-pyld' 'python2-pyld')
_pkgname='pyld'
pkgver=0.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="An implementation of the JSON-LD specification in Python"
arch=('any')
url="https://github.com/digitalbazaar/pyld"
license=('BSD')
makedepends=('python-setuptools' 'python2-setuptools')
-source=(https://github.com/digitalbazaar/${_pkgname}/archive/${pkgver}.tar.gz)
-sha512sums=('1db8aa6523183df5b427580e2b2504c871769c2c7c4612f3b93b7509651f4fd0fb17a0d0ccf251135b908648e32b256d2de9e118161586393ad332c7d8ad4cad')
+source=(https://github.com/digitalbazaar/${_pkgname}/archive/${pkgver}.tar.gz
+ 0001-Fixed-remote-frame-context-handling.patch)
+sha512sums=('1db8aa6523183df5b427580e2b2504c871769c2c7c4612f3b93b7509651f4fd0fb17a0d0ccf251135b908648e32b256d2de9e118161586393ad332c7d8ad4cad'
+ 'd0b15814c2fe315ad3dddda8ea452229a172be060d7074b6d99ec9eaed857f2e6b715e760cbcc194f9c8a679bc929ac652df847377c6e8b4944bf77795432f19')
prepare() {
+ patch -p1 -d "${srcdir}/${_pkgname}-${pkgver}" < "${srcdir}"/0001-Fixed-remote-frame-context-handling.patch
+
cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"
}