From 27a3e1d0d86a75865d99bef74dfe9b5c0f6e9671 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 2 Dec 2022 15:43:55 +0100 Subject: extra/liborcus: local patching for download location, missing configure release and broken Python tests --- extra/liborcus/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 extra/liborcus/PKGBUILD (limited to 'extra/liborcus') 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 -- cgit v1.2.3-54-g00ecf