Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-12-02 15:43:55 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-12-02 15:43:55 +0100
commit27a3e1d0d86a75865d99bef74dfe9b5c0f6e9671 (patch)
tree147167b867d40ba1463a5f479028a42716f26750
parent73b4e4d28d8b905d600ad7c82dcaedbb32688cf9 (diff)
extra/liborcus: local patching for download location, missing configure release and broken Python tests
-rw-r--r--extra/liborcus/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/liborcus/PKGBUILD b/extra/liborcus/PKGBUILD
new file mode 100644
index 00000000..31d6804c
--- /dev/null
+++ b/extra/liborcus/PKGBUILD
@@ -0,0 +1,30 @@
+# download location and packaging is a mess, fixing locally here as
+# we have to do a rebuild of libreoffice..
+source[0]="https://gitlab.com/orcus/orcus/-/archive/${pkgver}/liborcus-${pkgver}.tar.gz"
+sha256sums[0]='b2c30fb24ddadfe9bc94ac5d55782e6137ba727e90f4c9420dab5fde0d51f661'
+eval "$(
+ declare -f build | \
+ sed '
+ s/cd /cd orcus-0.17.2-8865b88c8627953c1c4f371c3a582f58f233295d/
+ /configure/ i \
+ ./autogen.sh
+ '
+)"
+
+eval "$(
+ declare -f check | \
+ sed '
+ s/cd /cd orcus-0.17.2-8865b88c8627953c1c4f371c3a582f58f233295d/
+ '
+)"
+
+eval "$(
+ declare -f package | \
+ sed '
+ s/cd /cd orcus-0.17.2-8865b88c8627953c1c4f371c3a582f58f233295d/
+ '
+)"
+
+
+# ignore tests (Python is broken)
+unset check