summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-06-24 02:00:17 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-07-19 15:35:59 -0400
commit5ce173c9164631ea5f8c5018821dfa45e39abab1 (patch)
tree43146555034c4786bca9b81508b376c6dfedec7f /libre
parent63599331471edefe940ad4a519ab6320b762bdf5 (diff)
downloadabslibre-5ce173c9164631ea5f8c5018821dfa45e39abab1.tar.gz
abslibre-5ce173c9164631ea5f8c5018821dfa45e39abab1.tar.bz2
abslibre-5ce173c9164631ea5f8c5018821dfa45e39abab1.zip
[purple-matrix]: wip
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}