summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/purple-matrix/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/purple-matrix/PKGBUILD b/libre/purple-matrix/PKGBUILD
index c00dfd6e3..aaabd0ab3 100644
--- a/libre/purple-matrix/PKGBUILD
+++ b/libre/purple-matrix/PKGBUILD
@@ -21,6 +21,27 @@ source=(${pkgname}-${pkgver}.tar.gz::https://github.com/matrix-org/${pkgname}/ar
sha256sums=('80a41992c6cb3bae3248af463e9b1a051e9553664ecba2d38ad1f193932e92d3')
+source+=(matrix-segfault.patch
+matrix-chat.patch
+cloudflare.patch)
+sha256sums+=('df440e7432e6dcce4afa176d3f4ae7c1725acae56614d944d2ec8dee9522a3d5'
+ '0f4d8894108a0cb25187fc7c7dc135918e76898cb84bd32101c90ef966d858d7'
+ 'feb89040589f7d984cf5941f7a98578594a00551dceb2c3ce2a3833e8faf8202')
+
+
+prepare()
+{
+ cd "${srcdir}"/${pkgname}-${_gitrev}
+
+ echo "applying matrix-segfault.patch"
+ patch -Np1 < "${srcdir}"/matrix-segfault.patch
+ echo "applying matrix-chat.patch"
+ patch -Np1 < "${srcdir}"/matrix-chat.patch
+ echo "applying cloudflare.patch"
+ patch -Np1 < "${srcdir}"/cloudflare.patch
+}
+
+
build()
{
cd "${srcdir}"/${pkgname}-${_gitrev}