From 5ce173c9164631ea5f8c5018821dfa45e39abab1 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 24 Jun 2021 02:00:17 -0400 Subject: [purple-matrix]: wip --- libre/purple-matrix/PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'libre/purple-matrix') 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} -- cgit v1.2.3